Pman.Dialog.CoreEmail.bjs
authorleon <leon@roojs.com>
Tue, 22 Mar 2022 03:43:15 +0000 (11:43 +0800)
committerleon <leon@roojs.com>
Tue, 22 Mar 2022 03:43:15 +0000 (11:43 +0800)
Pman.Dialog.CoreEmail.js

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

index 5106511..1dfdd1a 100644 (file)
                "$ xns" : "Roo.form",
                "name" : "name"
               },
+              {
+               "xtype" : "Column",
+               "$ xns" : "Roo.form",
+               "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';\n    }\n    \n    this.setBoxLabel(boxLabel);\n}"
+                 },
+                 "String name" : "active",
+                 "Boolean checked" : true,
+                 "xtype" : "Checkbox",
+                 "String valueOff" : 0,
+                 "String boxLabel" : "Enabled - will be sent out",
+                 "$ xns" : "Roo.form",
+                 "Mixed value" : 1
+                }
+               ]
+              },
               {
                "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';\n    }\n    \n    this.setBoxLabel(boxLabel);\n}"
index 00b6cc3..2a19568 100644 (file)
@@ -647,6 +647,35 @@ Pman.Dialog.CoreEmail = {
                xns : Roo.form,
                '|xns' : 'Roo.form'
               },
+              {
+               xtype : 'Column',
+               xns : Roo.form,
+               '|xns' : 'Roo.form',
+               items  : [
+                {
+                 xtype : 'Checkbox',
+                 boxLabel : _this._strings['28690be026c0bb9003aa58e45e5662ca'] /* Enabled - will be sent out */,
+                 checked : true,
+                 name : 'active',
+                 value : 1,
+                 valueOff : 0,
+                 listeners : {
+                  check : function (_self, checked)
+                   {
+                       var boxLabel = 'Enabled - will be sent out';
+                       
+                       if(!checked){
+                           boxLabel = 'Disabled - will NOT be sent out';
+                       }
+                       
+                       this.setBoxLabel(boxLabel);
+                   }
+                 },
+                 xns : Roo.form,
+                 '|xns' : 'Roo.form'
+                }
+               ]
+              },
               {
                xtype : 'Checkbox',
                boxLabel : _this._strings['28690be026c0bb9003aa58e45e5662ca'] /* Enabled - will be sent out */,