summaryrefslogtreecommitdiffstats
path: root/settings
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2017-08-14 11:16:24 +0200
committerMorris Jobke <hey@morrisjobke.de>2017-08-14 11:16:24 +0200
commit3d1f6a041d249afd2ca74d765c5942e635b07d02 (patch)
treef1791451476c16135fc2b95a0859a67e554fc850 /settings
parentd1f3e1de963b9ed90d6a12b0a34fa803d7e7e3ce (diff)
downloadnextcloud-server-3d1f6a041d249afd2ca74d765c5942e635b07d02.tar.gz
nextcloud-server-3d1f6a041d249afd2ca74d765c5942e635b07d02.zip
Fix federation scope dropdown
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
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;