From 7da6f89548753f4678adf857c358c0a428a16ef5 Mon Sep 17 00:00:00 2001 From: edward Date: Mon, 18 Jul 2016 14:08:31 +0800 Subject: [PATCH] Pman.Dialog.CoreEmail.bjs Pman.Dialog.CoreEmail.js --- Pman.Dialog.CoreEmail.bjs | 2 +- Pman.Dialog.CoreEmail.js | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/Pman.Dialog.CoreEmail.bjs b/Pman.Dialog.CoreEmail.bjs index 4361a10a..ad1bb885 100644 --- a/Pman.Dialog.CoreEmail.bjs +++ b/Pman.Dialog.CoreEmail.bjs @@ -267,7 +267,7 @@ "items" : [ { "listeners" : { - "check" : "function (_self, checked)\n{\n var boxLabel = 'Enabled - will be sent out';\n \n if(!checked){\n boxLabel = 'Disabled - will NOT be sent out right of \\'Mailout Name\\'';\n }\n \n this.setBoxLabel = boxLabel;\n}" + "check" : "function (_self, checked)\n{\n Roo.log(['active : ', checked]);\n \n var boxLabel = 'Enabled - will be sent out';\n \n if(!checked){\n boxLabel = 'Disabled - will NOT be sent out right of \\'Mailout Name\\'';\n }\n \n Roo.log(boxLabel);\n \n this.setBoxLabel = boxLabel;\n}" }, "String name" : "active", "Boolean checked" : true, diff --git a/Pman.Dialog.CoreEmail.js b/Pman.Dialog.CoreEmail.js index 97f14030..2735a382 100644 --- a/Pman.Dialog.CoreEmail.js +++ b/Pman.Dialog.CoreEmail.js @@ -627,12 +627,16 @@ Pman.Dialog.CoreEmail = { listeners : { check : function (_self, checked) { + Roo.log(['active : ', checked]); + var boxLabel = 'Enabled - will be sent out'; if(!checked){ boxLabel = 'Disabled - will NOT be sent out right of \'Mailout Name\''; } + Roo.log(boxLabel); + this.setBoxLabel = boxLabel; } } -- 2.39.2