From: Alan Knowles Date: Thu, 12 May 2011 08:04:53 +0000 (+0800) Subject: Pman.Tab.AdminCompanies.bjs X-Git-Url: http://git.roojs.org/?p=Pman.Admin;a=commitdiff_plain;h=f75c9ed361eb68fffd89fd336babf8576549c437 Pman.Tab.AdminCompanies.bjs --- diff --git a/Pman.Tab.AdminCompanies.bjs b/Pman.Tab.AdminCompanies.bjs index 8054da6..f92799f 100644 --- a/Pman.Tab.AdminCompanies.bjs +++ b/Pman.Tab.AdminCompanies.bjs @@ -40,7 +40,7 @@ "items": [ { "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.Companies;\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", "rowclick": "function (_self, rowIndex, e)\n{\n try { Pman.Tab.Office.paging.onClick('refresh'); } catch(e) {}\n}" },