Skip to content

Commit f4b1eb6

Browse files
committed
Merge pull request #6 from onozaty/hotfix/5-not-appear-confirm
Fixed does not appear a confirmation dialog when deleting. fixed #5
2 parents ca976fc + e631b21 commit f4b1eb6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/views/view_customizes/show.html.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
:class => 'icon icon-edit') %>
88
<%= link_to(l(:button_delete),
99
{:action => 'destroy', :id => @view_customize.id},
10-
:confirm => l(:text_are_you_sure), :method => :delete,
10+
:data => {:confirm => l(:text_are_you_sure)}, :method => :delete,
1111
:class => 'icon icon-del') %>
1212
</div>
1313

0 commit comments

Comments
 (0)