Pman.Tab.AdminProjectManager.bjs
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.bjs

index 2555f41..bcb6eff 100644 (file)
                             "|xns": "Roo"
                         },
                         {
-                            "|xns": "Roo",
-                            "xtype": "GridPanel",
-                            "title": "Projects",
-                            "fitToframe": true,
-                            "fitContainer": true,
-                            "tableName": "Projects",
-                            "background": true,
-                            "region": "center",
                             "listeners": {
-                                "|activate": "function() {\n    _this.panel = this;\n    if (_this.grid) {\n        _this.grid.footer.onClick('first');\n    }\n}"
+                                "|activate": "function() {\n    _this.panel = this;\n    _this.dialog = Pman.Dialog.CoreProject;\n    if (_this.grid) {\n        _this.grid.footer.onClick('first');\n    }\n}"
                             },
+                            "background": true,
+                            "fitContainer": true,
+                            "fitToframe": true,
+                            "region": "center",
+                            "tableName": "Projects",
+                            "title": "Projects",
+                            "xtype": "GridPanel",
+                            "|xns": "Roo",
                             "items": [
                                 {
                                     "listeners": {