Pman.Tab.AdminProjectManager.js
authorAlan Knowles <alan@akbkhome.com>
Fri, 25 Feb 2011 07:24:49 +0000 (15:24 +0800)
committerAlan Knowles <alan@akbkhome.com>
Fri, 25 Feb 2011 07:24:49 +0000 (15:24 +0800)
Pman.Tab.AdminProjectManager.js

index e7cd4ca..cca3e55 100644 (file)
@@ -42,20 +42,21 @@ Pman.Tab.AdminProjectManager = new Roo.util.Observable({
                     {
                         xtype: 'GridPanel',
                         xns: Roo,
-                        title : "Projects",
-                        fitToframe : true,
-                        fitContainer : true,
-                        tableName : 'Projects',
-                        background : true,
-                        region : 'center',
                         listeners : {
                             activate : function() {
                                 _this.panel = this;
+                                _this.dialog = Pman.Dialog.CoreProject;
                                 if (_this.grid) {
                                     _this.grid.footer.onClick('first');
                                 }
                             }
                         },
+                        background : true,
+                        fitContainer : true,
+                        fitToframe : true,
+                        region : 'center',
+                        tableName : 'Projects',
+                        title : "Projects",
                         grid : {
                             xtype: 'Grid',
                             xns: Roo.grid,