Patch #36817 » issue_36817.patch
public/javascripts/attachments.js | ||
---|---|---|
289 | 289 |
+ '-' + randomKey(5).toLocaleLowerCase() |
290 | 290 |
+ '.' + file.name.split('.').pop(); |
291 | 291 | |
292 |
var inputEl = $('input:file.filedrop').first() |
|
292 |
// get input file in the closest form |
|
293 |
var inputEl = $(this).closest("form").find('input:file.filedrop'); |
|
293 | 294 |
handleFileDropEvent.target = e.target; |
294 | 295 |
addFile(inputEl, new File([file], filename, { type: file.type }), true); |
295 | 296 |
} |
- « Previous
- 1
- …
- 3
- 4
- 5
- Next »