summaryrefslogtreecommitdiffstats
path: root/app/views/messages/show.html.erb
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/messages/show.html.erb')
-rw-r--r--app/views/messages/show.html.erb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/messages/show.html.erb b/app/views/messages/show.html.erb
index d0857cf46..639dc2e7c 100644
--- a/app/views/messages/show.html.erb
+++ b/app/views/messages/show.html.erb
@@ -17,7 +17,7 @@
l(:button_delete),
{:action => 'destroy', :id => @topic},
:method => :post,
- :confirm => l(:text_are_you_sure),
+ :data => {:confirm => l(:text_are_you_sure)},
:class => 'icon icon-del'
) if @message.destroyable_by?(User.current) %>
</div>
@@ -52,7 +52,7 @@
image_tag('delete.png'),
{:action => 'destroy', :id => message},
:method => :post,
- :confirm => l(:text_are_you_sure),
+ :data => {:confirm => l(:text_are_you_sure)},
:title => l(:button_delete)
) if message.destroyable_by?(User.current) %>
</div>