name : "Pman.Tab.AdminCompanies",
disabled : false,
permname : 'Admin.Companies',
- _tree : function()
+ _tree : function(_data)
{
var _this = this;
var MODULE = this;
'|xns' : 'Roo',
layout : {
xtype : 'BorderLayout',
+ listeners : '',
xns : Roo,
'|xns' : 'Roo',
center : {
listeners : {
click : function()
{
- Pman.genericDelete(_this, 'Companies');
+ Pman.genericDelete(_this, 'Companies');
}
},
xns : Roo.Toolbar,
{
o.params = o.params || {};
try {
- o.params['query[name]'] = _this.searchBox.getValue();
+ o.params['search[name]'] = _this.searchBox.getValue();
} catch(e) { return false; }
},
load : function (_self, records, options)
proxy : {
xtype : 'HttpProxy',
method : 'GET',
- url : baseURL + '/Roo/Companies.php',
+ url : baseURL + '/Roo/core_company',
listeners : {
load : function (This, o, arg)
{