Pman.Tab.BAdminCompany.bjs
authoredward <edward@roojs.com>
Tue, 6 Feb 2018 08:50:08 +0000 (16:50 +0800)
committeredward <edward@roojs.com>
Tue, 6 Feb 2018 08:50:08 +0000 (16:50 +0800)
Pman.Tab.BAdminCompany.js

Pman.Tab.BAdminCompany.bjs
Pman.Tab.BAdminCompany.js

index 835f2dd..1986671 100644 (file)
         },
         {
          "listeners" : {
-          "rowdblclick" : "function (_self, el, rowIndex, e)\n{\n    var s = _this.table.store.getAt(rowIndex);\n    \n    if(!s || s.data.id * 1 < 1){\n        return;\n    }\n    \n    Pman.Dialog.BAdminCompany.show({\n        id : s.data.id\n    }, function() {\n        if (_this.table) {\n            _this.table.footer.onClick('first');\n        }\n    });\n}",
+          "rowdblclick" : "function (_self, el, rowIndex, e)\n{\n    var s = _this.table.store.getAt(rowIndex);\n    \n    if(!s || s.data.id * 1 < 1){\n        return;\n    }\n    \n    Pman.Dialog.BAdminCompany.show({\n        id : s.data.id\n    }, function() {\n        if (_this.table) {\n            _this.table.footer.onClick('refresh');\n        }\n    });\n}",
           "render" : "function (_self)\n{\n    _this.table = this;\n}"
          },
          "String cls" : "table-fixed",
index 25081b6..23e6451 100644 (file)
@@ -195,7 +195,7 @@ Pman.Tab.BAdminCompany = new Roo.XComponent({
                  id : s.data.id
              }, function() {
                  if (_this.table) {
-                     _this.table.footer.onClick('first');
+                     _this.table.footer.onClick('refresh');
                  }
              });
          }