diff options
author | ringmaster <epithet@gmail.com> | 2013-09-12 10:50:26 -0400 |
---|---|---|
committer | ringmaster <epithet@gmail.com> | 2013-09-13 09:06:20 -0400 |
commit | 3790cbb493e44e9e089fe6f2966b90cbc2eda161 (patch) | |
tree | ac23355926710cac699d25d525bdcf59f72723ae /settings/js | |
parent | d5ddbfb04562ba69a94d05413b931a4b378f0220 (diff) | |
download | nextcloud-server-3790cbb493e44e9e089fe6f2966b90cbc2eda161.tar.gz nextcloud-server-3790cbb493e44e9e089fe6f2966b90cbc2eda161.zip |
Allow numeric group names
Diffstat (limited to 'settings/js')
-rw-r--r-- | settings/js/users.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/settings/js/users.js b/settings/js/users.js index ab08d7099c6..01a845367e2 100644 --- a/settings/js/users.js +++ b/settings/js/users.js @@ -91,13 +91,13 @@ var UserList = { tr.find('td.displayName > span').text(displayname); var groupsSelect = $('<select multiple="multiple" class="groupsselect" data-placehoder="Groups" title="' + t('settings', 'Groups') + '"></select>') .attr('data-username', username) - .attr('data-user-groups', [groups]); + .data('user-groups', groups); tr.find('td.groups').empty(); if (tr.find('td.subadmins').length > 0) { var subadminSelect = $('<select multiple="multiple" class="subadminsselect" data-placehoder="subadmins" title="' + t('settings', 'Group Admin') + '">') .attr('data-username', username) - .attr('data-user-groups', [groups]) - .attr('data-subadmin', [subadmin]); + .data('user-groups', groups) + .data('subadmin', subadmin); tr.find('td.subadmins').empty(); } $.each(this.availableGroups, function (i, group) { |