xtype : 'Button',
listeners : {
click : function() {
- /*
- var name = _this.form.findField('name').getValue();
- name = name.toUpperCase().replace(/[^A-Z]+/g, '');
- if (!name.length) {
- Roo.MessageBox.alert("Error","Please fill in a valid name");
- return;
- }
- _this.form.findField('name').setValue(name);
-
+
_this.form.doAction('submit');
- */
}
}
return;
}
if (action.type == 'load') {
+
_this.dialog.el.unmask();
+
+ _this.data = action.result.data;
+
+ Roo.log(_this.data);
+ if(typeof(_this.data.keywords) != 'undefined'){
+ var n = Roo.decode(_this.data.keywords);
+ _this.form.findField('keyword_filters').setValue(n);
+ }
+
return;
}
if (action.type == 'submit' ) {
},
'|xns' : 'Roo.form',
+ allowBlank : false,
fieldLabel : 'Keywords',
hiddenName : 'keyword_filters',
name : 'keyword_filters_name',