From 4f6993a15e82d398cd254c92b15b22307456e63f Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Tue, 6 Dec 2016 14:11:54 +0100 Subject: hide all other token dropdowns when showing one Signed-off-by: Robin Appelman --- settings/js/authtoken_view.js | 1 + 1 file changed, 1 insertion(+) 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'); }, -- cgit v1.2.3