From f44e6f971985d98fc6c3bbad744f1a4755c81aae Mon Sep 17 00:00:00 2001 From: yflory Date: Fri, 8 Nov 2019 12:08:21 +0100 Subject: [PATCH] lint compliance --- www/common/outer/sharedfolder.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/www/common/outer/sharedfolder.js b/www/common/outer/sharedfolder.js index 47cfe5458..e4d8d152c 100644 --- a/www/common/outer/sharedfolder.js +++ b/www/common/outer/sharedfolder.js @@ -122,13 +122,14 @@ define([ // The shared folder is already loaded, return its data setTimeout(function () { var leave = function () { SF.leave(secret.channel, teamId); }; - var uo = store.manager.addProxy(id, sf.rt, leave, secondaryKey); /* + var uo = store.manager.addProxy(id, sf.rt, leave, secondaryKey); // NOTE: Shared folder migration, disable for now SF.checkMigration(secondaryKey, sf.rt.proxy, uo, function () { cb(sf.rt, sf.metadata); }); */ + store.manager.addProxy(id, sf.rt, leave, secondaryKey); cb(sf.rt, sf.metadata); }); sf.teams.push({ @@ -188,13 +189,14 @@ define([ } sf.teams.forEach(function (obj) { var leave = function () { SF.leave(secret.channel, teamId); }; - var uo = obj.store.manager.addProxy(obj.id, rt, leave, obj.secondaryKey); /* + var uo = obj.store.manager.addProxy(obj.id, rt, leave, obj.secondaryKey); // NOTE: Shared folder migration, disable for now SF.checkMigration(secondaryKey, rt.proxy, uo, function () { obj.cb(sf.rt, info.metadata); }); */ + obj.store.manager.addProxy(obj.id, rt, leave, obj.secondaryKey); obj.cb(sf.rt, info.metadata); }); sf.metadata = info.metadata;