diff app/views/files/index.html.erb @ 1115:433d4f72a19b redmine-2.2

Update to Redmine SVN revision 11137 on 2.2-stable branch
author Chris Cannam
date Mon, 07 Jan 2013 12:01:42 +0000
parents cbb26bc654de
children bb32da3bea34 261b3d9a4903
line wrap: on
line diff
--- a/app/views/files/index.html.erb	Wed Jun 27 14:54:18 2012 +0100
+++ b/app/views/files/index.html.erb	Mon Jan 07 12:01:42 2013 +0000
@@ -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