fixes direct upload to folder

pull/83/head
Vincent Chan 10 years ago
parent 433cea30c3
commit 864c3a8fbb
  1. 6
      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);
}
});

Loading…
Cancel
Save