ux/Lightbox.js
authorAlan Knowles <alan@akbkhome.com>
Thu, 22 Jul 2010 06:22:08 +0000 (14:22 +0800)
committerAlan Knowles <alan@akbkhome.com>
Thu, 22 Jul 2010 06:22:08 +0000 (14:22 +0800)
ux/Lightbox.js

index a5b83bb..7a53826 100644 (file)
@@ -227,8 +227,8 @@ Roo.apply(Roo.ux.Lightbox.prototype,
         
         Roo.each(Roo.DomQuery.select('a[rel^=lightbox]'), function(e) {
             this.imageArray.push(Roo.get(e));
-            Roo.get(e).on('click', (function(event, tg, tga) {
-                console.log(tga)
+            Roo.get(e).on('click', (function(event, tg, tga,tgb) {
+                console.log(tgb)
                 event.stopEvent();
                 this.start(tg);
             }).createDelegate(this, [e], true));