Pman.Tab.AdminCompanies.bjs
authorAlan Knowles <alan@akbkhome.com>
Thu, 12 May 2011 08:03:57 +0000 (16:03 +0800)
committerAlan Knowles <alan@akbkhome.com>
Thu, 12 May 2011 08:03:57 +0000 (16:03 +0800)
Pman.Tab.AdminCompanies.bjs

index e02532b..a6eee5f 100644 (file)
@@ -41,7 +41,8 @@
                                 {
                                     "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}",
-                                        "|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"
+                                        "|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}"
                                     },
                                     "*prop": "grid",
                                     "autoExpandColumn": "name",