diff options
Diffstat (limited to 'app/views/attachments/_links.html.erb')
-rw-r--r-- | app/views/attachments/_links.html.erb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/attachments/_links.html.erb b/app/views/attachments/_links.html.erb index f77cfb1eb..d2ab22ced 100644 --- a/app/views/attachments/_links.html.erb +++ b/app/views/attachments/_links.html.erb @@ -10,7 +10,7 @@ <span class="size">(<%= number_to_human_size attachment.filesize %>)</span> <% if options[:deletable] %> <%= link_to image_tag('delete.png'), attachment_path(attachment), - :confirm => l(:text_are_you_sure), + :data => {:confirm => l(:text_are_you_sure)}, :method => :delete, :class => 'delete', :title => l(:button_delete) %> |