diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2010-07-25 10:34:55 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2010-07-25 10:34:55 +0000 |
commit | 73d936803975a2f8edae1a3a2c4f7ae3943fde19 (patch) | |
tree | c4e432c060a263f016b5ee923f6024e862b594da | |
parent | 91f7cbb79db053e9f10f87e82fe6348245d7dfd1 (diff) | |
download | redmine-73d936803975a2f8edae1a3a2c4f7ae3943fde19.tar.gz redmine-73d936803975a2f8edae1a3a2c4f7ae3943fde19.zip |
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
-rw-r--r-- | app/views/attachments/_form.rhtml | 3 | ||||
-rw-r--r-- | public/javascripts/application.js | 2 |
2 files changed, 2 insertions, 3 deletions
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 @@ <span id="attachments_fields"> -<%= file_field_tag 'attachments[1][file]', :size => 30, :id => nil -%> -<label class="inline"><span id="attachment_description_label_content"><%= l(:label_optional_description) %></span><%= text_field_tag 'attachments[1][description]', '', :size => 60, :id => nil %> +<%= file_field_tag 'attachments[1][file]', :size => 30, :id => nil -%><label class="inline"><span id="attachment_description_label_content"><%= l(:label_optional_description) %></span><%= text_field_tag 'attachments[1][description]', '', :size => 60, :id => nil %> </label> </span> <br /> 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) |