From: Edward Date: Thu, 18 Oct 2018 05:21:39 +0000 (+0800) Subject: roojs-core.js X-Git-Url: http://git.roojs.org/?p=roojs1;a=commitdiff_plain;h=9ffb95fe6343d9f1c28eca6964f2e25cafacf588 roojs-core.js roojs-core-debug.js --- diff --git a/roojs-core-debug.js b/roojs-core-debug.js index 28d0c4ec8e..fbab784704 100644 --- a/roojs-core-debug.js +++ b/roojs-core-debug.js @@ -9129,6 +9129,9 @@ if(opt.anim.isAnimated()){ if(!this._mask){ this._mask = Roo.DomHelper.append(this.dom, {cls:"roo-el-mask"}, true); } + + this._mask.dom.className = msgCls ? "roo-el-mask " + msgCls : "roo-el-mask"; + this.addClass("x-masked"); this._mask.setDisplayed(true); diff --git a/roojs-core.js b/roojs-core.js index 4fc8cddc06..e8952ff895 100644 --- a/roojs-core.js +++ b/roojs-core.js @@ -381,10 +381,10 @@ h-=(this.getBorderWidth("tb")+this.getPadding("tb"));}this.setBounds(J.x,J.y,w,h },getMargins:function(J){if(!J){return {top:parseInt(this.getStyle("margin-top"),10)||0,left:parseInt(this.getStyle("margin-left"),10)||0,bottom:parseInt(this.getStyle("margin-bottom"),10)||0,right:parseInt(this.getStyle("margin-right"),10)||0};}else{return this.addStyles(J,El.margins); }},addStyles:function(J,K){var L=0,v,w;for(var i=0,M=J.length;i