summaryrefslogtreecommitdiffstats
path: root/public
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2012-02-05 11:54:38 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2012-02-05 11:54:38 +0000
commitd57fbc9512ccda7253914f2e5b0e5ce2d181a31e (patch)
tree1c6d4353f033e30f838c859822cc14bf4f82c93f /public
parent232fca78a2d3ba1a5b1538a9b1fa9e5ed611ca11 (diff)
downloadredmine-d57fbc9512ccda7253914f2e5b0e5ce2d181a31e.tar.gz
redmine-d57fbc9512ccda7253914f2e5b0e5ce2d181a31e.zip
Fixed: Can't attach more than 1 file on IE 6 and 7 (#10115).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8780 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'public')
-rw-r--r--public/javascripts/application.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/public/javascripts/application.js b/public/javascripts/application.js
index 9aa996e3e..44b0bf20c 100644
--- a/public/javascripts/application.js
+++ b/public/javascripts/application.js
@@ -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]";