Pman.Dialog.AdminEnumMerge.bjs
[Pman.Admin] / Pman.Tab.AdminCompanies.bjs
index 9517b96..7f26ce6 100644 (file)
@@ -2,7 +2,7 @@
  "name" : "Pman.Tab.AdminCompanies",
  "parent" : "Pman.Tab.Admin",
  "title" : "Pman.Tab.AdminCompanies",
- "path" : "/home/khlau/gitlive/web.coba/Pman.Admin/Pman.Tab.AdminCompanies.bjs",
+ "path" : "/home/benny/gitlive/Pman.Admin/Pman.Tab.AdminCompanies.bjs",
  "permname" : "Admin.Companies",
  "modOrder" : "030",
  "strings" : {
@@ -52,9 +52,9 @@
        "listeners" : {
         "|activate" : "function() {\n    _this.panel = this;\n    if (_this.grid) {\n        _this.grid.footer.onClick('first');\n    }\n}"
        },
+       "fitToframe" : true,
        "background" : true,
        "region" : "center",
-       "fitToframe" : true,
        "title" : "Companies",
        "xtype" : "GridPanel",
        "fitContainer" : true,
@@ -75,7 +75,7 @@
          "items" : [
           {
            "listeners" : {
-            "beforeload" : "function (_self, o)\n{\n   o.params = o.params || {};\n   try {\n       o.params['query[name]'] = _this.searchBox.getValue();\n   } catch(e) { return false; }\n}",
+            "beforeload" : "function (_self, o)\n{\n   o.params = o.params || {};\n   try {\n       o.params['search[name]'] = _this.searchBox.getValue();\n   } catch(e) { return false; }\n}",
             "load" : "function (_self, records, options)\n{\n   try {\n        Pman.Tab.AdminOffice.grid.footer.onClick('refresh');\n    } catch (e) {}\n}"
            },
            "xtype" : "Store",
             },
             {
              "listeners" : {
-              "|click" : "function()\n{\n     Pman.genericDelete(_this, 'Companies'); \n}\n        "
+              "|click" : "function()\n{\n    Pman.genericDelete(_this, 'Companies'); \n}\n        "
              },
              "text" : "Delete",
              "xtype" : "Button",