summaryrefslogtreecommitdiffstats
path: root/settings/js
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2016-12-06 14:11:54 +0100
committerRobin Appelman <robin@icewind.nl>2016-12-06 14:11:54 +0100
commit4f6993a15e82d398cd254c92b15b22307456e63f (patch)
treeb5dfc3ddeeb165bee1db04d438ee4eac2b354508 /settings/js
parentaf6ee647da72b23636d522696fe6f429eb74f0bd (diff)
downloadnextcloud-server-4f6993a15e82d398cd254c92b15b22307456e63f.tar.gz
nextcloud-server-4f6993a15e82d398cd254c92b15b22307456e63f.zip
hide all other token dropdowns when showing one
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'settings/js')
-rw-r--r--settings/js/authtoken_view.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/settings/js/authtoken_view.js b/settings/js/authtoken_view.js
index 0899b723b2a..ea4c49f5c5c 100644
--- a/settings/js/authtoken_view.js
+++ b/settings/js/authtoken_view.js
@@ -357,6 +357,7 @@
_onConfigureToken: function (event) {
var $target = $(event.target);
var $row = $target.closest('tr');
+ $('.token-list tr').removeClass('active');
$row.toggleClass('active');
var id = $row.data('id');
},