From: Alan Knowles Date: Thu, 12 May 2011 08:25:47 +0000 (+0800) Subject: Pman.Tab.AdminOffice.bjs X-Git-Url: http://git.roojs.org/?p=Pman.Admin;a=commitdiff_plain;h=6226b702dc922309a55a6b99c8671aaa2c30d08a Pman.Tab.AdminOffice.bjs --- 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": [ {