Pman.Tab.AdminOffice.js
authorAlan Knowles <alan@akbkhome.com>
Thu, 12 May 2011 08:25:47 +0000 (16:25 +0800)
committerAlan Knowles <alan@akbkhome.com>
Thu, 12 May 2011 08:25:47 +0000 (16:25 +0800)
Pman.Tab.AdminOffice.js

index 20d305f..27dd89b 100644 (file)
@@ -50,13 +50,11 @@ Pman.Tab.AdminOffice = new Roo.util.Observable({
             grid : {
                 xtype: 'Grid',
                 xns: Roo.grid,
-                autoExpandColumn : 'name',
-                loadMask : true,
                 listeners : {
                     render : function() 
                     {
                         _this.grid = this; 
-                        //_this.dialog = Pman.Dialog.FILL_IN
+                        _this.dialog =Pman.Dialog.Office;
                         if (_this.panel.active) {
                            this.footer.onClick('first');
                         }
@@ -69,6 +67,8 @@ Pman.Tab.AdminOffice = new Roo.util.Observable({
                         }); 
                     }
                 },
+                autoExpandColumn : 'name',
+                loadMask : true,
                 dataSource : {
                     xtype: 'Store',
                     xns: Roo.data,