X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=Roo%2FLoadMask.js;h=923099ac1dd285f9b7dcb73b6c956e3d4f9102e4;hb=0b69a11b1055a6d3a3fd0719bdd58b5a235de0e4;hp=b0700d77e1d167fac85500254868d5fbae5a9e94;hpb=4785ef747f3af129a2a71399d1e31bf2da558db6;p=roojs1 diff --git a/Roo/LoadMask.js b/Roo/LoadMask.js index b0700d77e1..923099ac1d 100644 --- a/Roo/LoadMask.js +++ b/Roo/LoadMask.js @@ -92,21 +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(){ - Roo.log('loadMask???'); if(!this.disabled){ - this.el.mask(this.msg, this.msgCls); + (function() { this.el.mask(this.msg, this.msgCls); }).defer(50, this); } },