{
if (action.type == 'setdata') {
if (_this.data.id) {
- _this.dialog.el.mask("Loading");
- this.load({ method: 'GET', params: { '_id' : _this.data.id }});
+ this.load({ method: 'GET', params: { '_id' : _this.data.id }});
return;
}
return;
}
if (action.type == 'load') {
- _this.dialog.el.unmask();
+
return;
}
if (action.type =='submit') {
- _this.dialog.el.unmask();
+
_this.dialog.hide();
if (_this.callback) {
},
rendered : function (form)
{
+ this.dialog = _this.dialog;
_this.form= form;
}
},
method : 'POST',
style : 'margin:10px;',
url : baseURL + '/Roo/builder_modules.php',
- : function() {
-
- },
items : [
{
xtype: 'TextField',
{
// do some checks?
-
- _this.dialog.el.mask("Saving");
+
_this.form.doAction("submit");
}