Merge pull request #6111 from nextcloud/backport-6098-12

[stable12] Fix federation scope dropdown
This commit is contained in:
Morris Jobke 2017-08-16 11:25:11 +02:00 committed by GitHub
commit 669c82afea
1 changed files with 1 additions and 1 deletions

View File

@ -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;