Pman.Tab.AdminCompanies.bjs
authorKH Lau <khlau@roojs.com>
Fri, 4 Aug 2017 09:23:43 +0000 (17:23 +0800)
committerKH Lau <khlau@roojs.com>
Fri, 4 Aug 2017 09:23:43 +0000 (17:23 +0800)
Pman.Tab.AdminCompanies.js

Pman.Tab.AdminCompanies.bjs
Pman.Tab.AdminCompanies.js

index 4b956d2..c81181c 100644 (file)
@@ -2,7 +2,7 @@
  "name" : "Pman.Tab.AdminCompanies",
  "parent" : "Pman.Tab.Admin",
  "title" : "Pman.Tab.AdminCompanies",
- "path" : "/home/alan/gitlive/Pman.Admin/Pman.Tab.AdminCompanies.bjs",
+ "path" : "/home/khlau/gitlive/web.coba/Pman.Admin/Pman.Tab.AdminCompanies.bjs",
  "permname" : "Admin.Companies",
  "modOrder" : "030",
  "strings" : {
@@ -30,6 +30,7 @@
    "$ xns" : "Roo",
    "items" : [
     {
+     "Object listeners" : "",
      "xtype" : "BorderLayout",
      "$ xns" : "Roo",
      "* prop" : "layout",
@@ -51,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,
index 0b76df0..8182434 100644 (file)
@@ -31,7 +31,7 @@ Pman.Tab.AdminCompanies = new Roo.XComponent({
   name     : "Pman.Tab.AdminCompanies",
   disabled : false, 
   permname : 'Admin.Companies', 
-  _tree : function()
+  _tree : function(_data)
   {
    var _this = this;
    var MODULE = this;
@@ -43,6 +43,7 @@ Pman.Tab.AdminCompanies = new Roo.XComponent({
    '|xns' : 'Roo',
    layout : {
     xtype : 'BorderLayout',
+    listeners : '',
     xns : Roo,
     '|xns' : 'Roo',
     center : {