Home
Documentation
Downloads
Demo
Tracker
Development
Translation
Moodle.net
Search
projects
/
moodle.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b12ce94
)
course publication MDL-19315 fix for gallery JS call (Sam's fix)
author
jerome mouneyrac
<jerome@moodle.com>
Wed, 14 Jul 2010 09:44:11 +0000
(09:44 +0000)
committer
jerome mouneyrac
<jerome@moodle.com>
Wed, 14 Jul 2010 09:44:11 +0000
(09:44 +0000)
lib/outputrenderers.php
patch
|
blob
|
blame
|
history
diff --git
a/lib/outputrenderers.php
b/lib/outputrenderers.php
index
f49cec9
..
0536e6f
100644
(file)
--- a/
lib/outputrenderers.php
+++ b/
lib/outputrenderers.php
@@
-2454,7
+2454,8
@@
EOD;
* @return string
*/
protected function render_image_gallery(image_gallery $imagegallery) {
- $this->page->requires->js_gallery_module(array('gallery-lightbox','gallery-lightbox-skin'), '2010.04.08-12-35', 'Y.Lightbox.init');
+ $this->page->requires->yui_module(array('gallery-lightbox','gallery-lightbox-skin'),
+ 'Y.Lightbox.init', null, '2010.04.08-12-35');
if (count($imagegallery->images) == 0) {
return '';
}