From e631b21eb9f213088ed8e5681426e55b708952ea Mon Sep 17 00:00:00 2001 From: onozaty Date: Sun, 1 May 2016 15:12:34 +0000 Subject: [PATCH] Fixed does not appear a confirmation dialog when deleting --- app/views/view_customizes/show.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/view_customizes/show.html.erb b/app/views/view_customizes/show.html.erb index b039974..dc87158 100644 --- a/app/views/view_customizes/show.html.erb +++ b/app/views/view_customizes/show.html.erb @@ -7,7 +7,7 @@ :class => 'icon icon-edit') %> <%= link_to(l(:button_delete), {:action => 'destroy', :id => @view_customize.id}, - :confirm => l(:text_are_you_sure), :method => :delete, + :data => {:confirm => l(:text_are_you_sure)}, :method => :delete, :class => 'icon icon-del') %>