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

index 2dc75f3..05628f4 100644 (file)
@@ -180,6 +180,8 @@ Roo.apply(Roo.ux.Lightbox.prototype,
             });
         this.lightbox = this.roolightbox;
 
+        this.overlay = Roo.DomHelper.append(document.body, { html : '<div class="lightbox-overlay"></div>' });
+        
                //Roo.get('overlay').hide();
         //Roo.get('overlay').on('click', this.end, this);
                this.lightbox.hide();