mirror of
https://github.com/nextcloud/server.git
synced 2026-04-24 07:39:23 -04:00
fixes direct upload to folder
This commit is contained in:
parent
433cea30c3
commit
864c3a8fbb
1 changed files with 1 additions and 5 deletions
6
apps/files/js/jquery.fileupload.js
vendored
6
apps/files/js/jquery.fileupload.js
vendored
|
|
@ -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…
Reference in a new issue