diff options
-rw-r--r-- | apps/files/js/jquery.fileupload.js | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/apps/files/js/jquery.fileupload.js b/apps/files/js/jquery.fileupload.js index 622161ede97..e9033437001 100644 --- a/apps/files/js/jquery.fileupload.js +++ b/apps/files/js/jquery.fileupload.js @@ -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); } }); |