pull/1/head
yflory 2018-07-10 15:10:07 +02:00
parent 4b86ed2dec
commit 66a494cbd2
1 changed files with 2 additions and 1 deletions

View File

@ -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);