Defect #17151 » 17151_redmine_2.3_latest.patch
| public/javascripts/attachments.js | ||
|---|---|---|
| 115 | 115 |
} |
| 116 | 116 | |
| 117 | 117 |
function addInputFiles(inputEl) {
|
| 118 |
$(inputEl).attr('onchange', null);
|
|
| 118 | 119 |
var clearedFileInput = $(inputEl).clone().val('');
|
| 119 | 120 | |
| 120 | 121 |
if (inputEl.files) {
|
| ... | ... | |
| 132 | 133 |
} |
| 133 | 134 | |
| 134 | 135 |
clearedFileInput.insertAfter('#attachments_fields');
|
| 136 |
clearedFileInput.attr('onchange', 'addInputFiles(this);');
|
|
| 135 | 137 |
} |
| 136 | 138 | |
| 137 | 139 |
function uploadAndAttachFiles(files, inputEl) {
|
- « Previous
- 1
- 2
- 3
- Next »