Commit c837de9f authored by jplang's avatar jplang

Fixed: Can't attach more than 1 file on IE 6 and 7 (#10115).

git-svn-id: https://svn.redmine.org/redmine/trunk@8780 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent 75aec899
......@@ -187,7 +187,7 @@ function addFileField() {
var fields = $('attachments_fields');
if (fields.childElements().length >= 10) return false;
fileFieldCount++;
var s = document.createElement("span");
var s = new Element('span');
s.update(fields.down('span').innerHTML);
s.down('input.file').name = "attachments[" + fileFieldCount + "][file]";
s.down('input.description').name = "attachments[" + fileFieldCount + "][description]";
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment