Migrated pads were not displayed instantly in the drive

This commit is contained in:
yflory
2017-06-19 11:52:57 +02:00
parent 928dadcf77
commit e40f43bd20
2 changed files with 5 additions and 3 deletions

View File

@@ -2561,8 +2561,8 @@ define([
filesOp.pushData(data, function (e, id) {
if (e) { return void console.error("Error while creating the default pad:", e); } // TODO LIMIT?
filesOp.add(id);
if (typeof(cb) === "function") { cb(); }
});
if (typeof(cb) === "function") { cb(); }
});
delete sessionStorage.createReadme;
return;