diff options
Diffstat (limited to 'app/views/files/index.html.erb')
-rw-r--r-- | app/views/files/index.html.erb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/files/index.html.erb b/app/views/files/index.html.erb index 397ca5c65..5077dbd8f 100644 --- a/app/views/files/index.html.erb +++ b/app/views/files/index.html.erb @@ -34,7 +34,7 @@ <td class="digest"><%= file.digest %></td> <td align="center"> <%= link_to(image_tag('delete.png'), attachment_path(file), - :confirm => l(:text_are_you_sure), :method => :delete) if delete_allowed %> + :data => {:confirm => l(:text_are_you_sure)}, :method => :delete) if delete_allowed %> </td> </tr> <% end |