summaryrefslogtreecommitdiffstats
path: root/settings/js/users/users.js
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2018-01-11 12:13:10 +0100
committerJulius Härtl <jus@bitgrid.net>2018-01-11 12:13:10 +0100
commitf8910ad898f6c24dcd5a7d14dff6d33dc754ea8f (patch)
tree3ff2a386323248e45767d1e7c6c423083f4783cd /settings/js/users/users.js
parentd56c566ff5b5584d1da03ceecf3b655ae36168f2 (diff)
downloadnextcloud-server-f8910ad898f6c24dcd5a7d14dff6d33dc754ea8f.tar.gz
nextcloud-server-f8910ad898f6c24dcd5a7d14dff6d33dc754ea8f.zip
Fix popover and styling in user management
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'settings/js/users/users.js')
-rw-r--r--settings/js/users/users.js11
1 files changed, 2 insertions, 9 deletions
diff --git a/settings/js/users/users.js b/settings/js/users/users.js
index 1d6cb93452a..5a337c38556 100644
--- a/settings/js/users/users.js
+++ b/settings/js/users/users.js
@@ -101,16 +101,9 @@ var UserList = {
$tdSubadmins.find('.action').tooltip({placement: 'top'});
/**
- * user actions menu
+ * hide user actions menu for current user
*/
- if ($tr.find('td.userActions > span > img').length === 0 && OC.currentUser !== user.name) {
- var menuImage = $('<img class="svg action">').attr({
- src: OC.imagePath('core', 'actions/more')
- });
- var menuLink = $('<span class="toggleUserActions"></span>')
- .append(menuImage);
- $tr.find('td.userActions > span').replaceWith(menuLink);
- } else if (OC.currentUser === user.name) {
+ if (OC.currentUser === user.name) {
$tr.find('td.userActions').empty();
}