Pman.Dialog.CoreEnum.bjs
[Pman.Core] / Pman.Dialog.CoreEnum.js
index 6bcdcdc..1dd0ec9 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");
@@ -180,8 +184,9 @@ Pman.Dialog.CoreEnum = {
          {
           '|xns' : 'Roo.form',
           actionMode : 'fieldEl',
+          checked : true,
           fieldLabel : 'Active',
-          hidden : false,
+          hidden : true,
           inputValue : 1,
           name : 'active',
           value : 1,
@@ -195,6 +200,13 @@ Pman.Dialog.CoreEnum = {
           xns : Roo.form,
           xtype : 'Hidden'
          },
+         {
+          '|xns' : 'Roo.form',
+          name : 'hydra_skill_category_id',
+          value : 0,
+          xns : Roo.form,
+          xtype : 'Hidden'
+         },
          {
           '|xns' : 'Roo.form',
           name : 'seqid',