Roo/Element.js
authorEdward <edward@roojs.com>
Thu, 26 Feb 2015 05:17:33 +0000 (13:17 +0800)
committerEdward <edward@roojs.com>
Thu, 26 Feb 2015 05:17:33 +0000 (13:17 +0800)
Roo/Element.js

index 2bbfddb..be39bbd 100644 (file)
@@ -2074,7 +2074,7 @@ if(opt.anim.isAnimated()){
          */
         mask : function(msg, msgCls)
         {
-            if(this.getStyle("position") == "static"){
+            if(this.getStyle("position") == "static" && this.dom..dom.tagName !== 'BODY'){
                 this.setStyle("position", "relative");
             }
             if(!this._mask){