r82626 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r82625‎ | r82626 | r82627 >
Date:19:43, 22 February 2011
Author:kwisatz
Status:deferred
Tags:
Comment:
added missing lightbox-blank.gif reference
Modified paths:
  • /trunk/extensions/GeeQuBox/GeeQuBox.php (modified) (history)

Diff [purge]

Index: trunk/extensions/GeeQuBox/GeeQuBox.php
@@ -100,10 +100,10 @@
101101 $eDir = $wgExtensionAssetsPath .'/'.EXTPATH.'/';
102102 self::$_page->addModules( 'ext.GeeQuBox' );
103103 self::$_page->addInlineScript('$j(document).ready(function(){
104 - $("li.gallerybox").each(function(el){
105 - var _a = $("div.thumb a", this);
 104+ $j("li.gallerybox").each(function(el){
 105+ var _a = $j("div.thumb a", this);
106106 var title = _a.attr("title");
107 - var caption = $("div.gallerytext > p", this).text();
 107+ var caption = $j("div.gallerytext > p", this).text();
108108 if ( caption != "" )
109109 _a.attr("title", title + caption);
110110 });
@@ -112,7 +112,8 @@
113113 imageLoading: "'. $eDir .'images/lightbox-ico-loading.gif",
114114 imageBtnClose: "'. $eDir .'images/lightbox-btn-close.gif",
115115 imageBtnPrev: "'. $eDir .'images/lightbox-btn-prev.gif",
116 - imageBtnNext: "'. $eDir .'images/lightbox-btn-next.gif"
 116+ imageBtnNext: "'. $eDir .'images/lightbox-btn-next.gif",
 117+ imageBlank: "'. $eDir .'images/lightbox-blank.gif"
117118 });
118119 })');
119120 /* See _gqbreplaceHref()

Status & tagging log