Merge pull request #6098 from nextcloud/fix-federation-scope

Fix federation scope dropdown
This commit is contained in:
Roeland Jago Douma 2017-08-14 19:24:27 +02:00 committed by GitHub
commit e0f479a4eb
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;