proxy: new Ext.data.HttpProxy({
- url: baseURL + '/Roo/Groups.html',
+ url: baseURL + '/Roo/core_group',
method: 'GET'
}),
remoteSort: true,
}
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,
Ext.MessageBox.alert("Error", "You can not rename that group");
return;
}
- if (s.data.id < 1) {
+ if (s[0].data.id < 1) {
Ext.MessageBox.alert("Error", "You can not rename that group");
return;
}