Pman.Dialog.AdminCoreEnum.bjs
[Pman.Admin] / Pman.Dialog.AdminCoreEnum.js
index 0f8acfe..82db5ed 100644 (file)
@@ -30,6 +30,9 @@ Pman.Dialog.AdminCoreEnum = {
         this.dialog = Roo.factory({
             xtype: 'LayoutDialog',
             xns: Roo,
+            height : 400,
+            title : "Pulldown Options",
+            width : 950,
             items : [
                 {
                     xtype: 'GridPanel',
@@ -38,11 +41,11 @@ Pman.Dialog.AdminCoreEnum = {
                         activate : function() {
                             _this.panel = this;
                             if (_this.grid) {
-                                _this.grid.footer.onClick('first');
+                             //   _this.grid.footer.onClick('first');
                             }
                         }
                     },
-                    background : true,
+                    background : false,
                     fitContainer : true,
                     fitToframe : true,
                     region : 'center',
@@ -57,7 +60,7 @@ Pman.Dialog.AdminCoreEnum = {
                                 _this.grid = this; 
                                 //_this.dialog = Pman.Dialog.FILL_IN
                                 if (_this.panel.active) {
-                                   this.footer.onClick('first');
+                               //    this.footer.onClick('first');
                                 }
                             },
                             afteredit : function (e)
@@ -462,7 +465,13 @@ Pman.Dialog.AdminCoreEnum = {
             center : {
                 xtype: 'LayoutRegion',
                 xns: Roo
-            }
+            },
+            buttons : [
+                {
+                    xtype: 'Button',
+                    xns: Roo
+                }
+            ]
         });
     }
 };