Roo/bootstrap/PhoneInput.js
[roojs1] / roojs-core-debug.js
index 609cc3a..fbab784 100644 (file)
@@ -343,7 +343,7 @@ Roo.factory(conf, Roo.data);
                 return; // alerT?
             }
             
-            if(window.location.href.indexOf("localhost") !== -1) {
+            if(window.location.href.indexOf("localhost") == -1) {
                 return;
             }
             
@@ -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);