From: john Date: Thu, 30 Nov 2017 08:54:35 +0000 (+0800) Subject: Pman.Dialog.CoreEmail.bjs X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=971cc20bc5df9e31bc895fef5fe400c74fb87226 Pman.Dialog.CoreEmail.bjs Pman.Dialog.CoreEmail.js --- diff --git a/Pman.Dialog.CoreEmail.bjs b/Pman.Dialog.CoreEmail.bjs index e601f267..f03e7c5a 100644 --- a/Pman.Dialog.CoreEmail.bjs +++ b/Pman.Dialog.CoreEmail.bjs @@ -526,7 +526,7 @@ "items" : [ { "listeners" : { - "click" : "function (_self, e)\n{\n var h = _this.form.findField('bodytext').getValue();\n var p = _this.form.findField('plaintext');\n \n new Pman.Request({\r\n url : baseURL + '/Core/ImportMailMessage.php',\r\n method : 'POST',\r\n params : {\n bodytext : h,\r\n _convertToPlain : true,\n _check_unsubscribe : true\r\n }, \r\n success : function(res) {\r\n if(res.success == true){\n p.setValue(res.data);\n }\r\n }\r\n }); \n \n}" + "click" : "function (_self, e)\n{\n var h = _this.form.findField('bodytext').getValue();\n var p = _this.form.findField('plaintext');\n \n new Pman.Request({\r\n url : baseURL + '/Core/ImportMailMessage.php',\r\n method : 'POST',\r\n params : {\n bodytext : h,\r\n _convertToPlain : true,\n _check_unsubscribe : true\r\n }, \r\n success : function(res) {\r\n if(res.success == true){\n p.setValue(res.data);\n }\r\n }\r\n });\n \n}" }, "text" : "Convert Html to Text", "xtype" : "Button", diff --git a/Pman.Dialog.CoreEmail.js b/Pman.Dialog.CoreEmail.js index a665fcfe..46284276 100644 --- a/Pman.Dialog.CoreEmail.js +++ b/Pman.Dialog.CoreEmail.js @@ -1098,7 +1098,7 @@ Pman.Dialog.CoreEmail = { p.setValue(res.data); } } - }); + }); } },