diff options
Diffstat (limited to 'settings/js/users/groups.js')
-rw-r--r-- | settings/js/users/groups.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/settings/js/users/groups.js b/settings/js/users/groups.js index cfc0fa26e95..fdad763f871 100644 --- a/settings/js/users/groups.js +++ b/settings/js/users/groups.js @@ -142,7 +142,7 @@ GroupList = { function (result) { if (result.groupname) { var addedGroup = result.groupname; - UserList.availableGroups = $.unique($.merge(UserList.availableGroups, [addedGroup])); + UserList.availableGroups[result.id] = {displayName: result.groupName}; GroupList.addGroup(groupid, result.groupname); } GroupList.toggleAddGroup(); |