Pman.Tab.AdminEmailTemplates.bjs
authorAlan Knowles <alan@roojs.com>
Fri, 3 Jun 2016 05:26:47 +0000 (13:26 +0800)
committerAlan Knowles <alan@roojs.com>
Fri, 3 Jun 2016 05:26:47 +0000 (13:26 +0800)
Pman.Tab.AdminEmailTemplates.js

Pman.Tab.AdminEmailTemplates.bjs
Pman.Tab.AdminEmailTemplates.js

index 013de0e..72f0bbb 100644 (file)
@@ -13,6 +13,7 @@
   "b78a3223503896721cca1303f776159b" : "Title",
   "9e11143e29a031212f2cdefcf61f39e9" : "View Message",
   "f49559cda3fb906fbd7736f8b8a0e37d" : "Email Template",
+  "01bd6a16732dfa2b760dc8566c58afae" : "Download to Excel",
   "4a4a8fe0c6dfb6bd2a41755d15eb6f0b" : "From Name",
   "4ca679a383343ab3d4ca1cd7c91b43f7" : "From Email",
   "5fb63579fc981698f97d55bfecb213ea" : "Copy",
              "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_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"
              },
-             "text" : "Copy",
+             "text" : "Download to Excel",
              "xtype" : "Button",
              "cls" : "x-btn-text-icon",
              "$ icon" : "Roo.rootURL + 'images/default/dd/drop-add.gif'",
index df26a46..c5de1bf 100644 (file)
@@ -14,6 +14,7 @@ Pman.Tab.AdminEmailTemplates = new Roo.XComponent({
   'b78a3223503896721cca1303f776159b' :"Title",
   '9e11143e29a031212f2cdefcf61f39e9' :"View Message",
   'f49559cda3fb906fbd7736f8b8a0e37d' :"Email Template",
+  '01bd6a16732dfa2b760dc8566c58afae' :"Download to Excel",
   '4a4a8fe0c6dfb6bd2a41755d15eb6f0b' :"From Name",
   '4ca679a383343ab3d4ca1cd7c91b43f7' :"From Email",
   '5fb63579fc981698f97d55bfecb213ea' :"Copy",
@@ -121,7 +122,7 @@ Pman.Tab.AdminEmailTemplates = new Roo.XComponent({
           xtype : 'Button',
           cls : 'x-btn-text-icon',
           icon : Roo.rootURL + 'images/default/dd/drop-add.gif',
-          text : _this._strings['5fb63579fc981698f97d55bfecb213ea'] /* Copy */,
+          text : _this._strings['01bd6a16732dfa2b760dc8566c58afae'] /* Download to Excel */,
           listeners : {
            click : function()
             {