fixes direct upload to folder

This commit is contained in:
Vincent Chan 2016-06-14 09:58:03 +02:00
parent 433cea30c3
commit 864c3a8fbb
1 changed files with 1 additions and 5 deletions

View File

@ -1267,11 +1267,7 @@
e.preventDefault();
this._getDroppedFiles(dataTransfer).always(function (files) {
data.files = files;
if (that._trigger(
'drop',
$.Event('drop', {delegatedEvent: e}),
data
) !== false) {
if (that._trigger('drop', e, data) !== false) {
that._onAdd(e, data);
}
});