Roo/Element.js
[roojs1] / 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);