##// END OF EJS Templates
Prevent page reloading if something goes wrong in the 'add more file' javascript....
Jean-Philippe Lang -
r1251:cab300e65045
parent child
Show More
@@ -4,6 +4,6
4 <em><%= l(:label_optional_description) %></em>
4 <em><%= l(:label_optional_description) %></em>
5 </span>
5 </span>
6 <br />
6 <br />
7 <small><%= link_to l(:label_add_another_file), {}, :onclick => 'addFileField(); return false;' %>
7 <small><%= link_to l(:label_add_another_file), '#', :onclick => 'addFileField(); return false;' %>
8 (<%= l(:label_max_size) %>: <%= number_to_human_size(Setting.attachment_max_size.to_i.kilobytes) %>)
8 (<%= l(:label_max_size) %>: <%= number_to_human_size(Setting.attachment_max_size.to_i.kilobytes) %>)
9 </small>
9 </small>
General Comments 0
You need to be logged in to leave comments. Login now