From b31dfec9b865d3bbde4f31c160ee6fd02e85ce6d Mon Sep 17 00:00:00 2001 From: Morris Jobke Date: Mon, 14 Aug 2017 11:16:24 +0200 Subject: [PATCH] Fix federation scope dropdown Signed-off-by: Morris Jobke --- settings/js/federationscopemenu.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/settings/js/federationscopemenu.js b/settings/js/federationscopemenu.js index 872f59c5de..a9f41831b9 100644 --- a/settings/js/federationscopemenu.js +++ b/settings/js/federationscopemenu.js @@ -111,7 +111,7 @@ */ show: function(context) { this._context = context; - var currentlyActiveValue = $('#'+context.target.closest('form').id).find('.icon-checkmark > input')[0].value; + var currentlyActiveValue = $('#'+context.target.closest('form').id).find('input[type="hidden"]')[0].value; for(var i in this._scopes) { this._scopes[i].active = false;