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