Allow numeric group names

This commit is contained in:
ringmaster 2013-09-12 10:50:26 -04:00
parent d5ddbfb045
commit 3790cbb493
1 changed files with 3 additions and 3 deletions

View File

@ -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) {