summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLester Caine <lester@lsces.co.uk>2009-05-05 06:28:35 +0000
committerLester Caine <lester@lsces.co.uk>2009-05-05 06:28:35 +0000
commit875cfd28656f09496de23a2788c80638294cecb1 (patch)
tree24e0b190688754c22f79956c8b1db2dfc39a669d
parentbca6e826bb315930f5c8ed54f0c8ee98ee2c8741 (diff)
downloadfisheye-875cfd28656f09496de23a2788c80638294cecb1.tar.gz
fisheye-875cfd28656f09496de23a2788c80638294cecb1.tar.bz2
fisheye-875cfd28656f09496de23a2788c80638294cecb1.zip
Add mbgallery manually since loadAjax can't handle plugin directory
This also has to be blocked from join/pack since jquery.js has been and these need to load after
-rw-r--r--display_fisheye_gallery_inc.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/display_fisheye_gallery_inc.php b/display_fisheye_gallery_inc.php
index 4771da6..4c1d209 100644
--- a/display_fisheye_gallery_inc.php
+++ b/display_fisheye_gallery_inc.php
@@ -1,6 +1,6 @@
<?php
/**
- * @version $Header: /cvsroot/bitweaver/_bit_fisheye/display_fisheye_gallery_inc.php,v 1.10 2009/03/30 13:23:01 lsces Exp $
+ * @version $Header: /cvsroot/bitweaver/_bit_fisheye/display_fisheye_gallery_inc.php,v 1.11 2009/05/05 06:28:35 lsces Exp $
* @package fisheye
* @subpackage functions
*/
@@ -38,7 +38,9 @@ if( $pagination = $gContent->getPreference( 'gallery_pagination' ) ) {
}
else if ( $pagination == 'ajax_scroller' ) {
$gBitThemes->loadCss( FISHEYE_PKG_PATH."mb_layout.css", TRUE );
- $gBitThemes->loadAjax( 'jquery', array( UTIL_PKG_PATH.'/javascript/libs/jquery/plugins/mbgallery/mbGallery.js', UTIL_PKG_PATH.'/javascript/libs/jquery/plugins/mbgallery/mbGalleryBox.js' ) );
+ $gBitThemes->loadAjax( 'jquery' );
+ $gBitThemes->loadJavascript( UTIL_PKG_PATH.'/javascript/libs/jquery/plugins/mbgallery/mbGallery.js', FALSE, 500, FALSE );
+ $gBitThemes->loadJavascript( UTIL_PKG_PATH.'/javascript/libs/jquery/plugins/mbgallery/mbGalleryBox.js', FALSE, 501, FALSE );
}
}
$gBitSystem->setBrowserTitle( $gContent->getTitle().' '.tra('Gallery') );