proxy: new Ext.data.HttpProxy({
- url: baseURL + '/Roo/Groups.html',
+ url: baseURL + '/Roo/core_group',
method: 'GET'
}),
remoteSort: true,
listeners : {
beforeload: function(t, o) {
- console.log(o.params);
+ //console.log(o.params);
if (!o.params) {
o.params = {};
}
o.params.type = _this.type;
+ o.params._add_everyone = 1;
+
},
load : function()
}
new Pman.Request({
- url: baseURL + '/Core/GroupMembers.php',
+ url: baseURL + '/Core/GroupMembers', // not a dataobject...
params: {
action : action,
group_id: action =='add' ? rid.id : s[0].data.id,
}
- Pman.genericDelete(_this, 'Groups');
+ Pman.genericDelete(_this, 'core_group');
}
} , '-',
{