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:
parent
3635f1496e
commit
12290a8468
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user