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