summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2007-11-12 17:29:41 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2007-11-12 17:29:41 +0000
commit833c7bd659fea1c7ce9f7bdd85714c4ac7f877d5 (patch)
tree89487e1f06254c774ce5d523cf06785aa0b9f51d /app
parent5944696b6d4307de0166ba74c514aae25779abb9 (diff)
downloadredmine-833c7bd659fea1c7ce9f7bdd85714c4ac7f877d5.tar.gz
redmine-833c7bd659fea1c7ce9f7bdd85714c4ac7f877d5.zip
Fixed: adding an attachment is not possible when changing the status of an issue.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@902 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app')
-rw-r--r--app/views/issues/change_status.rhtml2
1 files changed, 0 insertions, 2 deletions
diff --git a/app/views/issues/change_status.rhtml b/app/views/issues/change_status.rhtml
index 79a4412db..a1e294556 100644
--- a/app/views/issues/change_status.rhtml
+++ b/app/views/issues/change_status.rhtml
@@ -29,11 +29,9 @@
<p><label for="notes"><%= l(:field_notes) %></label>
<%= text_area_tag 'notes', @notes, :cols => 60, :rows => 10, :class => 'wiki-edit' %></p>
-<% if authorize_for('issues', 'add_attachment') %>
<p id="attachments_p"><label><%=l(:label_attachment_new)%>
<%= image_to_function "add.png", "addFileField();return false" %></label>
<%= file_field_tag 'attachments[]', :size => 30 %> <em>(<%= l(:label_max_size) %>: <%= number_to_human_size(Setting.attachment_max_size.to_i.kilobytes) %>)</em></p>
-<% end %>
</div>
<%= submit_tag l(:button_save) %>