From 6226b702dc922309a55a6b99c8671aaa2c30d08a Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Thu, 12 May 2011 16:25:47 +0800 Subject: [PATCH] Pman.Tab.AdminOffice.bjs --- Pman.Tab.AdminOffice.bjs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Pman.Tab.AdminOffice.bjs b/Pman.Tab.AdminOffice.bjs index 22295d0..7028942 100644 --- a/Pman.Tab.AdminOffice.bjs +++ b/Pman.Tab.AdminOffice.bjs @@ -19,14 +19,14 @@ "|xns": "Roo", "items": [ { - "*prop": "grid", - "xtype": "Grid", - "autoExpandColumn": "name", - "loadMask": true, "listeners": { - "|render": "function() \n{\n _this.grid = this; \n //_this.dialog = Pman.Dialog.FILL_IN\n if (_this.panel.active) {\n this.footer.onClick('first');\n }\n}", + "|render": "function() \n{\n _this.grid = this; \n _this.dialog =Pman.Dialog.Office;\n if (_this.panel.active) {\n this.footer.onClick('first');\n }\n}", "|rowdblclick": "function (_self, rowIndex, e)\n{\n if (!_this.dialog) return;\n _this.dialog.show( this.getDataSource().getAt(rowIndex), function() {\n _this.grid.footer.onClick('first');\n }); \n}\n" }, + "*prop": "grid", + "autoExpandColumn": "name", + "loadMask": true, + "xtype": "Grid", "|xns": "Roo.grid", "items": [ { -- 2.39.2