Pman.Tab.CoreEmail.bjs
authorEdward <edward@roojs.com>
Fri, 21 Feb 2014 04:30:03 +0000 (12:30 +0800)
committerEdward <edward@roojs.com>
Fri, 21 Feb 2014 04:30:03 +0000 (12:30 +0800)
Pman.Tab.CoreEmail.js

Pman.Tab.CoreEmail.bjs
Pman.Tab.CoreEmail.js

index 12e361a..f6e7e7e 100644 (file)
                                                 },
                                                 {
                                                     "listeners": {
-                                                        "|click": "function()\n{\n  var sel = _this.grid.selModel.getSelected();\n  if (!sel) {\n        Roo.MessageBox.alert(\"Error\", \"Select a message to copy\");\n        return;\n    }\nnew Pman.Request({\n    url : baseURL + '/Roo/Core_mailing_list_message',\n    method : 'POST',\n    params : {\n        id : sel.data.id,\n        _make_copy : 1\n    },\n    success : function() {\n        _this.grid.footer.onClick('refresh');\n    }\n});\n  \n}\n"
+                                                        "|click": "function()\n{\n  var sel = _this.grid.selModel.getSelected();\n  if (!sel) {\n        Roo.MessageBox.alert(\"Error\", \"Select a message to copy\");\n        return;\n    }\nnew Pman.Request({\n    url : baseURL + '/Roo/Core_email',\n    method : 'POST',\n    params : {\n        id : sel.data.id,\n        _make_copy : 1\n    },\n    success : function() {\n        _this.grid.footer.onClick('refresh');\n    }\n});\n  \n}\n"
                                                     },
                                                     "cls": "x-btn-text-icon",
                                                     "text": "Copy",
index 66228e5..909ba12 100644 (file)
@@ -182,7 +182,7 @@ Pman.Tab.CoreEmail = new Roo.XComponent({
                                                     return;
                                                 }
                                             new Pman.Request({
-                                                url : baseURL + '/Roo/Core_mailing_list_message',
+                                                url : baseURL + '/Roo/Core_email',
                                                 method : 'POST',
                                                 params : {
                                                     id : sel.data.id,