From: Jean-Philippe Lang Date: Sun, 25 Jul 2010 10:34:55 +0000 (+0000) Subject: Fixed: Add Another file to ticket doesn't work in IE (broken by r3750). X-Git-Tag: 1.1.0~502 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=73d936803975a2f8edae1a3a2c4f7ae3943fde19;p=redmine.git Fixed: Add Another file to ticket doesn't work in IE (broken by r3750). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3879 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/app/views/attachments/_form.rhtml b/app/views/attachments/_form.rhtml index 7702f92e2..6d387d1c2 100644 --- a/app/views/attachments/_form.rhtml +++ b/app/views/attachments/_form.rhtml @@ -1,6 +1,5 @@ -<%= file_field_tag 'attachments[1][file]', :size => 30, :id => nil -%> -
diff --git a/public/javascripts/application.js b/public/javascripts/application.js index 612739f5c..989065b3a 100644 --- a/public/javascripts/application.js +++ b/public/javascripts/application.js @@ -52,7 +52,7 @@ function addFileField() { d.type = "text"; d.name = "attachments[" + fileFieldCount + "][description]"; d.size = 60; - var dLabel = document.createElement("label"); + var dLabel = new Element('label'); dLabel.addClassName('inline'); // Pulls the languge value used for Optional Description dLabel.update($('attachment_description_label_content').innerHTML)