"pageSize" : 25,
"displayField" : "name",
"emptyText" : "Select BCC Group",
- "hiddenName" : "bcc_group",
+ "hiddenName" : "bcc_group_id",
"minChars" : 2,
"valueField" : "id",
"xtype" : "ComboBox",
"editable" : false,
"width" : 300,
"$ xns" : "Roo.form",
- "name" : "bcc_group_name",
+ "name" : "bcc_group_id_name",
"qtip" : "Select BCC Group",
"tpl" : "<div class=\"x-grid-cell-text x-btn button\"><b>{name}</b> </div>",
"loadingText" : "Searching...",
"items" : [
{
"listeners" : {
- "|click" : "function()\n{\n var id = _this.form.findField('id').getValue();\n \n if(id*1 < 1){\n Roo.MessageBox.alert('Error', 'Please save the email template first');\n return;\n }\n \n var ontable = (_this.data.module) ? _this.data.module : 'crm_mailing_list_message';\n \n Pman.Dialog.Image.show( { id : 0, onid: id, ontable: ontable }, function() {\n _this.igrid.getDataSource().load({});\n }); \n}\n"
+ "|click" : "function()\n{\n var id = _this.form.findField('id').getValue();\n \n if(id*1 < 1){\n Roo.MessageBox.alert('Error', 'Please save the email template first');\n return;\n }\n \n var ontable = (_this.data.module) ? _this.data.module : 'crm_mailing_list_message';\n \n Pman.Dialog.Image.show( { id : 0, onid: id, ontable: ontable }, function() {\n _this.igrid.getDataSource().load({});\n });\n}\n"
},
"text" : "Add",
"xtype" : "Button",