Pman.Dialog.CoreEnum.bjs
[Pman.Core] / Pman.Dialog.CoreEnum.js
index fbf0d14..3250ecd 100644 (file)
@@ -122,6 +122,10 @@ Pman.Dialog.CoreEnum = {
                       _this.dialog.hide();
                       return;
                   }
+                  
+                  if(typeof(_this.data._title) != 'undefined' && _this.data._title.length){
+                      _this.dialog.setTitle(_this.data._title);
+                  }
             
                   if(_this.data.id){
                       _this.dialog.el.mask("Loading");
@@ -179,14 +183,20 @@ Pman.Dialog.CoreEnum = {
          },
          {
           '|xns' : 'Roo.form',
-          name : 'etype',
+          actionMode : 'fieldEl',
+          checked : true,
+          fieldLabel : 'Active',
+          hidden : false,
+          inputValue : 1,
+          name : 'active',
+          value : 1,
+          valueOff : 0,
           xns : Roo.form,
-          xtype : 'Hidden'
+          xtype : 'Checkbox'
          },
          {
           '|xns' : 'Roo.form',
-          name : 'active',
-          value : 1,
+          name : 'etype',
           xns : Roo.form,
           xtype : 'Hidden'
          },