save group ids not display names in configuration
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
This commit is contained in:
parent
bff1f045bb
commit
5322d30d51
|
@ -93,8 +93,8 @@ function addSelect2 ($elements, userListLimit) {
|
|||
var userCount = 0; // users is an object
|
||||
|
||||
// add groups
|
||||
$.each(data.groups, function(i, group) {
|
||||
results.push({name:group+'(group)', displayname:group, type:'group' });
|
||||
$.each(data.groups, function(gid, group) {
|
||||
results.push({name:gid+'(group)', displayname:group, type:'group' });
|
||||
});
|
||||
// add users
|
||||
$.each(data.users, function(id, user) {
|
||||
|
|
Loading…
Reference in New Issue