Roo/Element.js
authorEdward <edward@roojs.com>
Thu, 18 Oct 2018 05:17:36 +0000 (13:17 +0800)
committerEdward <edward@roojs.com>
Thu, 18 Oct 2018 05:17:36 +0000 (13:17 +0800)
Roo/Element.js

index bfb68d4..069e78d 100644 (file)
@@ -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);