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

index 11ad73d..8f9744e 100644 (file)
@@ -441,12 +441,12 @@ Roo.apply(Roo.ux.Lightbox.prototype,
         
         var imgPreloader =  Roo.DomHelper.append(document.body, { tag: 'img' } , true);
         // once image is preloaded, resize image container
-
+        Roo.log(imgPreloader);
         imgPreloader.on('load', function() {
             
             this.lightboximage.dom.src = this.imageArray[this.activeImage].href || 
                 this.imageArray[this.activeImage].dom.href || this.imageArray[this.activeImage].dom.src;
-            
+            Roo.log(this.lightboximage.dom.src);
             this.resizeImageContainer(imgPreloader.getWidth(), imgPreloader.getHeight());
             imgPreloader.remove();
         }, this);