summaryrefslogtreecommitdiff
path: root/post.php
diff options
context:
space:
mode:
authorMax Kremmel <xing@synapse.plus.com>2007-07-09 22:03:17 +0000
committerMax Kremmel <xing@synapse.plus.com>2007-07-09 22:03:17 +0000
commit94bd5ddf8727f048d947cdc7548e81cb47c5aacc (patch)
treeeab1af0ef4492fe23eff9369fa8d5785802c232e /post.php
parent296b0e2ea949db991214dc5f2048d941e6315cf3 (diff)
downloadblogs-94bd5ddf8727f048d947cdc7548e81cb47c5aacc.tar.gz
blogs-94bd5ddf8727f048d947cdc7548e81cb47c5aacc.tar.bz2
blogs-94bd5ddf8727f048d947cdc7548e81cb47c5aacc.zip
clean up ajax library calls by only allowing gBitSystem->loadAjax() instead of assigning loadAjax to the templates. please update your files. also the suggest stuff in the group edit page has a pulse again but it's still in a coma - needs a bit more work
Diffstat (limited to 'post.php')
-rw-r--r--post.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/post.php b/post.php
index 41868fd..643fd07 100644
--- a/post.php
+++ b/post.php
@@ -1,6 +1,6 @@
<?php
/**
- * @version $Header: /cvsroot/bitweaver/_bit_blogs/post.php,v 1.42 2007/05/16 16:47:07 wjames5 Exp $
+ * @version $Header: /cvsroot/bitweaver/_bit_blogs/post.php,v 1.43 2007/07/09 22:03:17 squareing Exp $
* @package blogs
* @subpackage functions
@@ -112,6 +112,6 @@ if (isset($_REQUEST['blog_content_id'])) {
$gBitSmarty->assign_by_ref( 'errors', $gContent->mErrors );
// Need ajax for attachment browser
-$gBitSmarty->assign( 'loadAjax', 'prototype' );
+$gBitSystem->loadAjax( 'prototype' );
$gBitSystem->display( 'bitpackage:blogs/blog_post.tpl', "Create Blog Post" );
?>