Pman.Dialog.CoreMailingListMessage.bjs
authorEdward <edward@roojs.com>
Thu, 20 Feb 2014 04:50:42 +0000 (12:50 +0800)
committerEdward <edward@roojs.com>
Thu, 20 Feb 2014 04:50:42 +0000 (12:50 +0800)
Pman.Dialog.CoreMailingListMessage.js

Pman.Dialog.CoreMailingListMessage.bjs
Pman.Dialog.CoreMailingListMessage.js

index c916052..c9deec4 100644 (file)
@@ -90,7 +90,7 @@
                                             "items": [
                                                 {
                                                     "listeners": {
-                                                        "click": "function (_self, e)\n{\n\n    var l = document.location;\n    new Pman.Request({\n\n        url : baseURL + '/Crm/ImportHtml.php',\n\n        method: 'POST',\n        mask : \"Loading\",\n        params : {\n              importUrl : l.protocol +'//' + l.host +   rootURL + '/Pman/Crm/mail_templates/responsive1.html',\n       },\n        success : function (res) {\n\n         _this.form.findField('bodytext').setValue(res.data);\n        }\n  \n    });\n}"
+                                                        "click": "function (_self, e)\n{\n\n    var l = document.location;\n    new Pman.Request({\n\n        url : baseURL + '/Core/ImportMailMessage.php',\n\n        method: 'POST',\n        mask : \"Loading\",\n        params : {\n              importUrl : l.protocol +'//' + l.host +   rootURL + '/Pman/Crm/mail_templates/responsive1.html',\n       },\n        success : function (res) {\n\n         _this.form.findField('bodytext').setValue(res.data);\n        }\n  \n    });\n}"
                                                     },
                                                     "text": "Responsive Email (1)",
                                                     "xtype": "Item",
index 7d7c5fc..cc14d20 100644 (file)
@@ -141,7 +141,7 @@ Pman.Dialog.CoreMailingListMessage = {
                                                     var l = document.location;
                                                     new Pman.Request({
                                                 
-                                                        url : baseURL + '/Crm/ImportHtml.php',
+                                                        url : baseURL + '/Core/ImportMailMessage.php',
                                                 
                                                         method: 'POST',
                                                         mask : "Loading",