sync
[Pman.Admin] / Pman.Tab.AdminCompanies.bjs
index c13d5c5..3293cb7 100644 (file)
@@ -28,6 +28,7 @@
    "title" : "Companies",
    "xtype" : "NestedLayoutPanel",
    "$ xns" : "Roo",
+   "Boolean background" : true,
    "items" : [
     {
      "Object listeners" : "",
@@ -52,9 +53,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,
             },
             {
              "listeners" : {
-              "|click" : "function()\n{\n    Pman.genericDelete(_this, 'Companies'); \n}\n        "
+              "|click" : "function()\n{\n    Pman.genericDelete(_this, 'core_company'); \n}\n        "
              },
              "text" : "Delete",
              "xtype" : "Button",
            "$ renderer" : "function (v,x ,r) {\n    //return Pman.Dialog.Companies.comptypeListToString(r.data.isOwner ? 'OWNER' : v);\n    return v;\n}",
            "$ xns" : "Roo.grid",
            "* prop" : "colModel[]",
-           "dataIndex" : "comptype"
+           "dataIndex" : "comptype_id_display_name"
           },
           {
            "xtype" : "ColumnModel",