diff options
author | Owen Winkler <epithet@gmail.com> | 2013-08-18 13:03:20 +0400 |
---|---|---|
committer | Owen Winkler <epithet@gmail.com> | 2013-08-18 13:03:20 +0400 |
commit | 9840363488cc22e5e71e33735a390d6751c956eb (patch) | |
tree | df2360587d35d9693b9ac0464fb35e9a4323c924 /settings/js | |
parent | cd7e57e8ec64ffef8faec750ebffbdc6138ec9a0 (diff) |
Break long lines into smaller ones.
Diffstat (limited to 'settings/js')
-rw-r--r-- | settings/js/users.js | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/settings/js/users.js b/settings/js/users.js index 948849fe539..038ea369801 100644 --- a/settings/js/users.js +++ b/settings/js/users.js @@ -89,10 +89,15 @@ var UserList = { tr.attr('data-displayName', displayname); tr.find('td.name').text(username); 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]); + var groupsSelect = $('<select multiple="multiple" class="groupsselect" data-placehoder="Groups" title="' + t('settings', 'Groups') + '"></select>') + .attr('data-username', username) + .attr('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]); + 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]); tr.find('td.subadmins').empty(); } $.each(this.availableGroups, function (i, group) { @@ -244,7 +249,9 @@ var UserList = { group: group }, function (response) { - if(response.status === 'success' && UserList.availableGroups.indexOf(response.data.groupname) === -1 && response.data.action === 'add') { + if(response.status === 'success' + && UserList.availableGroups.indexOf(response.data.groupname) === -1 + && response.data.action === 'add') { UserList.availableGroups.push(response.data.groupname); } if(response.data.message) { |