##// END OF EJS Templates
Fixed: adding an attachment is not possible when changing the status of an issue....
Jean-Philippe Lang -
r889:833c7bd659fe
parent child
Show More
@@ -29,11 +29,9
29 <p><label for="notes"><%= l(:field_notes) %></label>
29 <p><label for="notes"><%= l(:field_notes) %></label>
30 <%= text_area_tag 'notes', @notes, :cols => 60, :rows => 10, :class => 'wiki-edit' %></p>
30 <%= text_area_tag 'notes', @notes, :cols => 60, :rows => 10, :class => 'wiki-edit' %></p>
31
31
32 <% if authorize_for('issues', 'add_attachment') %>
33 <p id="attachments_p"><label><%=l(:label_attachment_new)%>
32 <p id="attachments_p"><label><%=l(:label_attachment_new)%>
34 <%= image_to_function "add.png", "addFileField();return false" %></label>
33 <%= image_to_function "add.png", "addFileField();return false" %></label>
35 <%= file_field_tag 'attachments[]', :size => 30 %> <em>(<%= l(:label_max_size) %>: <%= number_to_human_size(Setting.attachment_max_size.to_i.kilobytes) %>)</em></p>
34 <%= file_field_tag 'attachments[]', :size => 30 %> <em>(<%= l(:label_max_size) %>: <%= number_to_human_size(Setting.attachment_max_size.to_i.kilobytes) %>)</em></p>
36 <% end %>
37 </div>
35 </div>
38
36
39 <%= submit_tag l(:button_save) %>
37 <%= submit_tag l(:button_save) %>
General Comments 0
You need to be logged in to leave comments. Login now