_this.dialog.hide();
return;
}
+
+ if(typeof(_this.data._title) != 'undefined' && _this.data._title.length){
+ _this.dialog.setTitle(_this.data._title);
+ }
if(_this.data.id){
_this.dialog.el.mask("Loading");
},
{
'|xns' : 'Roo.form',
- name : 'etype',
+ actionMode : 'fieldEl',
+ checked : true,
+ fieldLabel : 'Active',
+ hidden : false,
+ inputValue : 1,
+ name : 'active',
+ value : 1,
+ valueOff : 0,
xns : Roo.form,
- xtype : 'Hidden'
+ xtype : 'Checkbox'
},
{
'|xns' : 'Roo.form',
- name : 'active',
- value : 1,
+ name : 'etype',
xns : Roo.form,
xtype : 'Hidden'
},