Defect #36887 » 0001-Fix-copyImageFromClipboard-function-failed-to-genera.patch
| public/javascripts/attachments.js | ||
|---|---|---|
|
var inputEl = $('input:file.filedrop').first()
|
||
|
handleFileDropEvent.target = e.target;
|
||
|
addFile(inputEl, file, true);
|
||
|
addFile(inputEl, new File([file], filename, { type: file.type }), true);
|
||
|
}
|
||
|
}
|
||
|
}
|
||