Commit cab300e6 authored by Jean-Philippe Lang's avatar Jean-Philippe Lang

Prevent page reloading if something goes wrong in the 'add more file' javascript.

git-svn-id: http://redmine.rubyforge.org/svn/trunk@1266 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent f271e772
......@@ -4,6 +4,6 @@
<em><%= l(:label_optional_description) %></em>
</span>
<br />
<small><%= link_to l(:label_add_another_file), {}, :onclick => 'addFileField(); return false;' %>
<small><%= link_to l(:label_add_another_file), '#', :onclick => 'addFileField(); return false;' %>
(<%= l(:label_max_size) %>: <%= number_to_human_size(Setting.attachment_max_size.to_i.kilobytes) %>)
</small>
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