X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=Roo%2FLoadMask.js;h=923099ac1dd285f9b7dcb73b6c956e3d4f9102e4;hb=0b69a11b1055a6d3a3fd0719bdd58b5a235de0e4;hp=4dc4adad958f70a597cee24afe68a5ecf90bfcc6;hpb=572ac2921c50b56c31190f85f9ce8c1e7e220d7f;p=roojs1 diff --git a/Roo/LoadMask.js b/Roo/LoadMask.js index 4dc4adad95..923099ac1d 100644 --- a/Roo/LoadMask.js +++ b/Roo/LoadMask.js @@ -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(100); + (function() { this.el.mask(this.msg, this.msgCls); }).defer(50, this); } },