summaryrefslogtreecommitdiffstats
path: root/app/views/attachments
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2017-07-19 15:24:56 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2017-07-19 15:24:56 +0000
commit2c92465de5c9bc176c12523d5a8009dcc6ded1f1 (patch)
tree85f77dfd139db3e40a611a8ab5f343a8cacba999 /app/views/attachments
parent3cc483180add476103f5abd0a1564ef71abcc378 (diff)
downloadredmine-2c92465de5c9bc176c12523d5a8009dcc6ded1f1.tar.gz
redmine-2c92465de5c9bc176c12523d5a8009dcc6ded1f1.zip
Fixed that remove upload icon is not visible after submitting the form (#26468).
git-svn-id: http://svn.redmine.org/redmine/trunk@16835 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/attachments')
-rw-r--r--app/views/attachments/_form.html.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/attachments/_form.html.erb b/app/views/attachments/_form.html.erb
index 6e19c230d..96c8c6476 100644
--- a/app/views/attachments/_form.html.erb
+++ b/app/views/attachments/_form.html.erb
@@ -16,7 +16,7 @@
<%= hidden_field_tag "#{attachment_param}[p#{i}][id]", attachment.id %>
<% else %>
<%= text_field_tag("#{attachment_param}[p#{i}][description]", attachment.description, :maxlength => 255, :placeholder => l(:label_optional_description), :class => 'description') if description %>
- <%= link_to('&nbsp;'.html_safe, attachment_path(attachment, :attachment_id => "p#{i}", :format => 'js'), :method => 'delete', :remote => true, :class => 'remove-upload') %>
+ <%= link_to('&nbsp;'.html_safe, attachment_path(attachment, :attachment_id => "p#{i}", :format => 'js'), :method => 'delete', :remote => true, :class => 'icon-only icon-del remove-upload') %>
<%= hidden_field_tag "#{attachment_param}[p#{i}][token]", attachment.token %>
<% end %>
</span>