mirror of
https://github.com/meineerde/redmine.git
synced 2026-03-11 03:33:07 +00:00
Merged r21523 to 5.0-stable (#36887).
git-svn-id: https://svn.redmine.org/redmine/branches/5.0-stable@21530 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
74967ad4f3
commit
4dcbab7acd
@ -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