Defect #17559 » redmine_file_upload.patch
public/javascripts/attachments.js | ||
---|---|---|
115 | 115 |
} |
116 | 116 | |
117 | 117 |
function addInputFiles(inputEl) { |
118 |
var clearedFileInput = $(inputEl).clone().val(''); |
|
118 |
var onchange = $(inputEl).attr("onchange"); |
|
119 |
var clearedFileInput = $(inputEl).attr("onchange", null).clone().val(''); |
|
120 |
clearedFileInput.attr("onchange", onchange); |
|
119 | 121 | |
120 | 122 |
if (inputEl.files) { |
121 | 123 |
// upload files using ajax |
- « Previous
- 1
- 2
- 3
- Next »