From: Lukas Reschke Date: Mon, 21 Nov 2016 22:21:53 +0000 (+0100) Subject: Make Christoph happier X-Git-Tag: v11.0RC2~147^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=91f735acf3051898b7bfc4735a97f9d76c44c477;p=nextcloud-server.git Make Christoph happier Apparently this failed for him as per https://github.com/nextcloud/server/pull/2224#issuecomment-262085537 Signed-off-by: Lukas Reschke --- diff --git a/settings/js/federationscopemenu.js b/settings/js/federationscopemenu.js index 066f648c104..0862556a2c3 100644 --- a/settings/js/federationscopemenu.js +++ b/settings/js/federationscopemenu.js @@ -113,7 +113,7 @@ this._context = context; var currentlyActiveValue = $('#'+context.target.closest('form').id).find('.icon-checkmark > input')[0].value; - for(var i = 0 in this._scopes) { + for(var i in this._scopes) { this._scopes[i].active = false; }