Roo/LoadMask.js
authoredward <edward@roojs.com>
Fri, 8 Dec 2017 06:25:52 +0000 (14:25 +0800)
committeredward <edward@roojs.com>
Fri, 8 Dec 2017 06:25:52 +0000 (14:25 +0800)
Roo/LoadMask.js

index b46b781..923099a 100644 (file)
@@ -92,20 +92,18 @@ Roo.LoadMask.prototype = {
         }
         */
     
-        
-        
-        this.el.unmask(this.removeMask);
+        (function() { this.el.unmask(this.removeMask); }).defer(50, this);
     },
     // private
     onLoad : function()
     {
-        this.el.unmask(this.removeMask);
+        (function() { this.el.unmask(this.removeMask); }).defer(50, this);
     },
 
     // private
     onBeforeLoad : function(){
         if(!this.disabled){
-            (function() { this.el.mask(this.msg, this.msgCls) }).defer(50, this);
+            (function() { this.el.mask(this.msg, this.msgCls); }).defer(50, this);
         }
     },