]> source.dussan.org Git - nextcloud-server.git/commitdiff
Make Christoph happier 2224/head
authorLukas Reschke <lukas@statuscode.ch>
Mon, 21 Nov 2016 22:21:53 +0000 (23:21 +0100)
committerLukas Reschke <lukas@statuscode.ch>
Mon, 21 Nov 2016 22:21:53 +0000 (23:21 +0100)
Apparently this failed for him as per https://github.com/nextcloud/server/pull/2224#issuecomment-262085537

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
settings/js/federationscopemenu.js

index 066f648c104a080ec3183b9aa00a42f9d69e1621..0862556a2c33ff9f99ec3212e2f2ad3a1f6c50f7 100644 (file)
                        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;
                        }