From: Morris Jobke Date: Mon, 14 Aug 2017 09:16:24 +0000 (+0200) Subject: Fix federation scope dropdown X-Git-Tag: v12.0.3RC1~69^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=b31dfec9b865d3bbde4f31c160ee6fd02e85ce6d;p=nextcloud-server.git Fix federation scope dropdown Signed-off-by: Morris Jobke --- 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;