Fix file upload in code and slide

This commit is contained in:
yflory
2017-10-25 12:31:22 +02:00
parent f52a46c5aa
commit bf817f20ee
3 changed files with 23 additions and 3 deletions

View File

@@ -93,6 +93,8 @@ define([
var metadata = file.metadata;
var id = file.id;
var dropEvent = file.dropEvent;
delete file.dropEvent;
if (dropEvent.path) { file.path = dropEvent.path; }
if (queue.inProgress) { return; }
queue.inProgress = true;