fix drag and drop
This commit is contained in:
parent
560af7a5b8
commit
7126fd4b31
@ -93,6 +93,6 @@ function DragDropUploadFile(file, idx) {
|
||||
xhr.open('post', window.location.pathname, true);
|
||||
|
||||
var data = new FormData(document.getElementById("ajax-upload-files"));
|
||||
data.append('file', file);
|
||||
data.append('file[]', file);
|
||||
xhr.send(data);
|
||||
}
|
||||
|
Reference in New Issue
Block a user