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
This commit is contained in:
parent
f271e772af
commit
cab300e650
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue