Pman.Dialog.CoreEmail.bjs
[Pman.Core] / Pman.Dialog.CoreEmail.js
index 1ef1e30..19d3e3b 100644 (file)
@@ -674,6 +674,36 @@ Pman.Dialog.CoreEmail = {
                  '|xns' : 'Roo.form'
                 }
                ]
+              },
+              {
+               xtype : 'Column',
+               hideLabels : true,
+               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'
+                }
+               ]
               }
              ]
             },