1
0
mirror of https://github.com/meineerde/redmine.git synced 2025-10-17 17:01:01 +00:00

Merged r21523 to 4.2-stable (#36887).

git-svn-id: https://svn.redmine.org/redmine/branches/4.2-stable@21531 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Marius Balteanu 2022-04-11 07:10:27 +00:00
parent 3635f1496e
commit 12290a8468

View File

@ -291,7 +291,7 @@ function copyImageFromClipboard(e) {
var inputEl = $('input:file.filedrop').first()
handleFileDropEvent.target = e.target;
addFile(inputEl, file, true);
addFile(inputEl, new File([file], filename, { type: file.type }), true);
}
}
}