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