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

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

index 70312f1..4361a10 100644 (file)
                "items" : [
                 {
                  "listeners" : {
-                  "check" : "function (_self, checked)\n{\n    Roo.log(['checked : ', checked]);\n    Roo.log(this.el);\n}"
+                  "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}"
                  },
                  "String name" : "active",
                  "Boolean checked" : true,
index d3d9ce7..97f1403 100644 (file)
@@ -627,8 +627,13 @@ Pman.Dialog.CoreEmail = {
                  listeners : {
                   check : function (_self, checked)
                    {
-                       Roo.log(['checked : ', checked]);
-                       Roo.log(this.el);
+                       var boxLabel = 'Enabled - will be sent out';
+                       
+                       if(!checked){
+                           boxLabel = 'Disabled - will NOT be sent out right of \'Mailout Name\'';
+                       }
+                       
+                       this.setBoxLabel = boxLabel;
                    }
                  }
                 }