Roo/Element.js
authorAlan Knowles <alan@akbkhome.com>
Mon, 16 Jan 2012 05:16:03 +0000 (13:16 +0800)
committerAlan Knowles <alan@akbkhome.com>
Mon, 16 Jan 2012 05:16:03 +0000 (13:16 +0800)
Roo/Element.js

index e01eed0..8e52671 100644 (file)
@@ -2095,6 +2095,8 @@ if(opt.anim.isAnimated()){
             // if we are masking the body - then it hides everything..
             if (this.dom == document.body) {
                 z = 1000000;
+                this._mask.setWidth(Roo.lib.Dom.getDocumentWidth());
+                this._mask.setHeight(Roo.lib.Dom.getDocumentHeight());
             }
            
             if(typeof msg == 'string'){