diff options
| -rw-r--r-- | bit_setup_inc.php | 2 | ||||
| -rw-r--r-- | templates/footer_inc.tpl | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/bit_setup_inc.php b/bit_setup_inc.php index 7306e99..8434878 100644 --- a/bit_setup_inc.php +++ b/bit_setup_inc.php @@ -32,7 +32,7 @@ $gBitSmarty->assign_by_ref( 'gBitThemes', $gBitThemes ); // Though honestly, the optimal fix is to remove prototype dependcy on the uploader if at all possible to // avoid conflicts with other Ajax libs since the uploader affects any from with an upload in it. if ($gBitSystem->getConfig('liberty_attachment_style') == "ajax") { - $gBitThemes->loadAjax( 'prototype' ); + $gBitThemes->loadAjax( 'MochiKit' ); } diff --git a/templates/footer_inc.tpl b/templates/footer_inc.tpl index 311ddbe..b322aa3 100644 --- a/templates/footer_inc.tpl +++ b/templates/footer_inc.tpl @@ -1,4 +1,4 @@ -{if $gBitThemes->mAjax == 'prototype'} +{if !empty($gBitThemes->mAjax)} {foreach from=$gBitThemes->mAjaxLibs item=ajaxLib} {if $ajaxLib == 'debugger.js'} <div id="jsdebug" style="padding:1em; margin:1em; border:0.5em solid #900; background:#fff; color:#000;">Prototype Debugger:<br /></div> |
