summaryrefslogtreecommitdiffstats
path: root/settings
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@users.noreply.github.com>2017-08-14 19:24:27 +0200
committerGitHub <noreply@github.com>2017-08-14 19:24:27 +0200
commite0f479a4eb7f297dbe5156b16f42b896c4ceadd4 (patch)
treef05f623f6b780b1dad820411d673ba66cc6d822d /settings
parent5b2d6b080fea4b7afb74c79fdfa44d03315f07a9 (diff)
parent3d1f6a041d249afd2ca74d765c5942e635b07d02 (diff)
downloadnextcloud-server-e0f479a4eb7f297dbe5156b16f42b896c4ceadd4.tar.gz
nextcloud-server-e0f479a4eb7f297dbe5156b16f42b896c4ceadd4.zip
Merge pull request #6098 from nextcloud/fix-federation-scope
Fix federation scope dropdown
Diffstat (limited to 'settings')
-rw-r--r--settings/js/federationscopemenu.js2
1 files changed, 1 insertions, 1 deletions
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;