Fix file upload and remove unnecessary dependencies

This commit is contained in:
yflory
2017-12-01 10:16:48 +01:00
parent 664625a6ef
commit bd85f1b003
5 changed files with 15 additions and 16 deletions

View File

@@ -58,8 +58,7 @@ define([
if (noStore) { return void onComplete(href); }
common.initialPath = path;
common.renamePad(title || "", href, function (err) {
common.setPadTitle(title || "", href, path, function (err) {
if (err) { return void console.error(err); }
onComplete(href);
common.setPadAttribute('fileType', metadata.type, null, href);