_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',
+ actionMode : 'fieldEl',
+ checked : true,
fieldLabel : 'Active',
+ hidden : true,
inputValue : 1,
name : 'active',
- value : 0,
+ value : 1,
valueOff : 0,
xns : Roo.form,
xtype : 'Checkbox'
xns : Roo.form,
xtype : 'Hidden'
},
- {
- '|xns' : 'Roo.form',
- name : 'active',
- value : 1,
- xns : Roo.form,
- xtype : 'Hidden'
- },
{
'|xns' : 'Roo.form',
name : 'seqid',