ux/Lightbox.js
authorAlan Knowles <alan@akbkhome.com>
Wed, 29 Dec 2010 07:51:11 +0000 (15:51 +0800)
committerAlan Knowles <alan@akbkhome.com>
Wed, 29 Dec 2010 07:51:11 +0000 (15:51 +0800)
ux/Lightbox.js

index 5834c0c..f818b8a 100644 (file)
@@ -350,7 +350,8 @@ Roo.apply(Roo.ux.Lightbox.prototype,
         // stretch overlay to fill page and fade in
         //var arrayPageSize = this.getPageSize();
         
-        this.overlay.setHeight(Roo.lib.Dom.getDocumentHeight())        
+        this.overlay.setHeight(Roo.lib.Dom.getDocumentHeight()),        
+        this.overlay.setWidth(Roo.lib.Dom.getDocumentWidth()),
         //new Effect.Appear(this.overlay,
         //    { duration: this.overlayDuration, from: 0.0, to: this.overlayOpacity });