this.setStyle("position", "relative");
}
if(!this._mask){
-// this._mask = Roo.DomHelper.append(this.dom, {cls:"roo-el-mask"}, true);
- this._mask = this.createChild({cls:"roo-el-mask"});
+ this._mask = Roo.DomHelper.append(this.dom, {cls:"roo-el-mask"}, true);
}
this.addClass("x-masked");
this._mask.setDisplayed(true);
if(typeof msg == 'string'){
if(!this._maskMsg){
-// this._maskMsg = Roo.DomHelper.append(this.dom, {cls:"roo-el-mask-msg", cn:{tag:'div'}}, true);
- this._maskMsg = this.createChild({cls:"roo-el-mask-msg", cn:{tag:'div'}});
+ this._maskMsg = Roo.DomHelper.append(this.dom, {cls:"roo-el-mask-msg", cn:{tag:'div'}}, true);
}
var mm = this._maskMsg;
mm.dom.className = msgCls ? "roo-el-mask-msg " + msgCls : "roo-el-mask-msg";
* it is cached for reuse.
*/
unmask : function(removeEl){
-// this.setStyle("position", "static");
if(this._mask){
if(removeEl === true){
this._mask.remove();