X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=blobdiff_plain;f=Pman.Dialog.CoreEmail.bjs;h=3dd0bd6c9278b548a5b924b2de322bfab5df9bf7;hp=aa4180b779e845406590ae03d3a9bf93907879d1;hb=586e4eb470252d837ba18b67e4c3c1702131fd1d;hpb=db0f5b2f2bbfbe2e19d9774237f4dd662859b666 diff --git a/Pman.Dialog.CoreEmail.bjs b/Pman.Dialog.CoreEmail.bjs index aa4180b7..3dd0bd6c 100644 --- a/Pman.Dialog.CoreEmail.bjs +++ b/Pman.Dialog.CoreEmail.bjs @@ -313,7 +313,7 @@ "pageSize" : 25, "displayField" : "name", "emptyText" : "Select BCC Group", - "hiddenName" : "bcc_group", + "hiddenName" : "bcc_group_id", "minChars" : 2, "valueField" : "id", "xtype" : "ComboBox", @@ -322,7 +322,7 @@ "editable" : false, "width" : 300, "$ xns" : "Roo.form", - "name" : "bcc_group_name", + "name" : "bcc_group_id_name", "qtip" : "Select BCC Group", "tpl" : "
{name}
", "loadingText" : "Searching...", @@ -643,7 +643,7 @@ "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",