aboutsummaryrefslogtreecommitdiffstats
path: root/settings/js/users/users.js
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2017-09-28 11:55:25 +0200
committerJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2017-09-28 11:55:25 +0200
commit7fb329294958beab28a2cbd8370d5733de8ec4d0 (patch)
treeb164a49cd8babf6212791e2e5a51838c5331f796 /settings/js/users/users.js
parentc1795b0611875b309ad099e285fdfd54dad91804 (diff)
downloadnextcloud-server-7fb329294958beab28a2cbd8370d5733de8ec4d0.tar.gz
nextcloud-server-7fb329294958beab28a2cbd8370d5733de8ec4d0.zip
Popover to css guidelines
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'settings/js/users/users.js')
-rw-r--r--settings/js/users/users.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/settings/js/users/users.js b/settings/js/users/users.js
index f0ba433e862..4a4faf13ec7 100644
--- a/settings/js/users/users.js
+++ b/settings/js/users/users.js
@@ -955,9 +955,12 @@ $(document).ready(function () {
if ($tr.is('.active')) {
$tr.removeClass('active');
+ menudiv.removeClass('open');
return;
}
$('#userlist tr.active').removeClass('active');
+ $('#userlist .popovermenu').removeClass('open');
+ menudiv.addClass('open');
menudiv.find('.action-togglestate').empty();
if ($tr.data('userEnabled')) {
$('.action-togglestate', $td).html('<span class="icon icon-close"></span><span>' + t('settings', 'Disable') + '</span>');