name : "Pman.Tab.AdminContactsGroup",
disabled : false,
permname : '',
- _tree : function()
+ _tree : function(_data)
{
var _this = this;
var MODULE = this;
fitContainer : true,
fitToframe : true,
region : 'west',
- tableName : 'Groups',
+ tableName : 'core_group',
title : _this._strings['a37ede293936e29279ed543129451ec3'] /* Groups */,
listeners : {
activate : function() {
listeners : {
click : function()
{
- Pman.genericDelete(_this, 'Groups');
+ Pman.genericDelete(_this, 'core_group');
}
},
xns : Roo.menu,
beforeload : function (_self, o)
{
o.params = o.params || {};
+
o.params.type =2;
+
+ o.params._add_everyone = 1;
},
load : function (_self, records, options)
{
proxy : {
xtype : 'HttpProxy',
method : 'GET',
- url : baseURL + '/Roo/Groups.php',
+ url : baseURL + '/Roo/core_group',
xns : Roo.data,
'|xns' : 'Roo.data'
},