summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2012-02-15 20:18:10 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2012-02-15 20:18:10 +0000
commit8792131e03af214b59f06d1dd8e777f29ab3705c (patch)
tree4d4cc3baaa03d811b48746c9032caa38311aacfd /app
parent6a290cc281e69fdfe25c759aa7883ae7103e3d39 (diff)
downloadredmine-8792131e03af214b59f06d1dd8e777f29ab3705c.tar.gz
redmine-8792131e03af214b59f06d1dd8e777f29ab3705c.zip
Adds confirmation message to relation delete link (#8413).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8883 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app')
-rw-r--r--app/views/issues/_relations.html.erb3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/views/issues/_relations.html.erb b/app/views/issues/_relations.html.erb
index 205d403f8..8eedf40d8 100644
--- a/app/views/issues/_relations.html.erb
+++ b/app/views/issues/_relations.html.erb
@@ -22,7 +22,8 @@
<td class="buttons"><%= link_to_remote(
image_tag('link_break.png'),
{ :url => {:controller => 'issue_relations', :action => 'destroy', :id => relation},
- :method => :delete },
+ :method => :delete,
+ :confirm => l(:text_are_you_sure) },
:title => l(:label_relation_delete)
) if authorize_for('issue_relations', 'destroy') %></td>
</tr>