Pman.Dialog.CoreEmail.bjs
authoredward <edward@roojs.com>
Mon, 18 Jul 2016 06:08:31 +0000 (14:08 +0800)
committeredward <edward@roojs.com>
Mon, 18 Jul 2016 06:08:31 +0000 (14:08 +0800)
Pman.Dialog.CoreEmail.js

Pman.Dialog.CoreEmail.bjs
Pman.Dialog.CoreEmail.js

index 4361a10..ad1bb88 100644 (file)
                "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,
index 97f1403..2735a38 100644 (file)
@@ -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;
                    }
                  }