From 66a494cbd2f1a7683d196e68859afa70cf82e299 Mon Sep 17 00:00:00 2001 From: yflory Date: Tue, 10 Jul 2018 15:10:07 +0200 Subject: [PATCH] temp --- www/common/mergeDrive.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/www/common/mergeDrive.js b/www/common/mergeDrive.js index 020861481..0ddf72bb8 100644 --- a/www/common/mergeDrive.js +++ b/www/common/mergeDrive.js @@ -106,7 +106,7 @@ define([ var proxy = proxyData.proxy; var oldFo = FO.init(parsed.drive, { loggedIn: proxyData.loggedIn, - pinPads: function () {} // without pinPads /outer/userObject.js won't be loaded + outer: true }); var onMigrated = function () { oldFo.fixFiles(true); @@ -141,6 +141,7 @@ define([ // Add the file data in our array and use the id to add the file var data = oldFo.getFileData(id); if (data) { + // XXX newFo.pushData(data, function (err, id) { if (err) { return void console.error("Cannot import file:", data, err); } createFromPath(proxy, oldFo, paths[0], id);