From 3d1f6a041d249afd2ca74d765c5942e635b07d02 Mon Sep 17 00:00:00 2001 From: Morris Jobke Date: Mon, 14 Aug 2017 11:16:24 +0200 Subject: Fix federation scope dropdown Signed-off-by: Morris Jobke --- settings/js/federationscopemenu.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'settings') diff --git a/settings/js/federationscopemenu.js b/settings/js/federationscopemenu.js index 872f59c5de8..a9f41831b94 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; -- cgit v1.2.3