From: Edward Date: Thu, 18 Oct 2018 05:20:51 +0000 (+0800) Subject: Roo/Element.js X-Git-Url: http://git.roojs.org/?p=roojs1;a=commitdiff_plain;h=b271dd946125caea33f65eadc4388bacb4464d3d Roo/Element.js --- diff --git a/Roo/Element.js b/Roo/Element.js index bfb68d48aa..069e78d7fa 100644 --- a/Roo/Element.js +++ b/Roo/Element.js @@ -2112,6 +2112,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);