ux/Lightbox.js
authorEdward <edward@roojs.com>
Thu, 13 Mar 2014 10:06:57 +0000 (18:06 +0800)
committerEdward <edward@roojs.com>
Thu, 13 Mar 2014 10:06:57 +0000 (18:06 +0800)
ux/Lightbox.js

index 11ad73d..a2ec9fb 100644 (file)
@@ -327,8 +327,10 @@ Roo.apply(Roo.ux.Lightbox.prototype,
     updateImageList: function() {   
         this.updateImageList = Roo.emptyFn;
         if (this.imageArray.length) {
+            Roo.log('in');
             return;
         }
+        Roo.log('out');
         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,tgb) {