Pman.Dialog.CoreEnum.bjs
[Pman.Core] / Pman.Dialog.CoreEnum.js
index 910fb0b..87155e2 100644 (file)
@@ -99,8 +99,10 @@ Pman.Dialog.CoreEnum = {
                                 {
                                     xtype: 'TextField',
                                     xns: Roo.form,
+                                    actionMode : 'fieldEl',
                                     allowBlank : false,
                                     fieldLabel : 'Name',
+                                    hidden : false,
                                     name : 'name',
                                     width : 200
                                 },
@@ -113,15 +115,18 @@ Pman.Dialog.CoreEnum = {
                                     width : 200
                                 },
                                 {
-                                    xtype: 'Hidden',
+                                    xtype: 'Checkbox',
                                     xns: Roo.form,
-                                    name : 'etype'
+                                    fieldLabel : 'Active',
+                                    inputValue : 1,
+                                    name : 'active',
+                                    value : 0,
+                                    valueOff : 0
                                 },
                                 {
                                     xtype: 'Hidden',
                                     xns: Roo.form,
-                                    name : 'active',
-                                    value : 1
+                                    name : 'etype'
                                 },
                                 {
                                     xtype: 'Hidden',