From 7b40767428ac5c04ba80d95c7c90b049c73c7f36 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Sat, 7 Jul 2012 14:36:49 +0000 Subject: Deprecated :confirm => 'Text' option. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9937 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/views/files/index.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/views/files') 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 @@ <%= file.digest %> <%= 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 %> <% end -- cgit v1.2.3