]> source.dussan.org Git - nextcloud-server.git/commitdiff
Fix federation scope dropdown 6111/head
authorMorris Jobke <hey@morrisjobke.de>
Mon, 14 Aug 2017 09:16:24 +0000 (11:16 +0200)
committerMorris Jobke <hey@morrisjobke.de>
Mon, 14 Aug 2017 20:15:49 +0000 (22:15 +0200)
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
settings/js/federationscopemenu.js

index 872f59c5de8608052815edf9b17f0ebcb15b6822..a9f41831b94b1404fe01cb3a49e9d882ac81da53 100644 (file)
                 */
                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;