diff --git a/app/views/repositories/_related_issues.html.erb b/app/views/repositories/_related_issues.html.erb
index d5e57cb72..961e5ad6b 100644
--- a/app/views/repositories/_related_issues.html.erb
+++ b/app/views/repositories/_related_issues.html.erb
@@ -11,14 +11,14 @@
<% @changeset.issues.visible.each do |issue| %>
- "><%= link_to_issue issue %>
- <%= link_to_remote(image_tag('link_break.png'),
- {:url => {:controller => 'repositories', :action => 'remove_related_issue',
- :id => @project, :repository_id => @repository.identifier_param,
- :rev => @changeset.identifier, :issue_id => issue},
- :method => :delete,
- :data => {:confirm => l(:text_are_you_sure)},
- }, :title => l(:label_relation_delete)) if manage_allowed %>
-
+ <%= link_to(image_tag('link_break.png'),
+ {:controller => 'repositories', :action => 'remove_related_issue',
+ :id => @project, :repository_id => @repository.identifier_param,
+ :rev => @changeset.identifier, :issue_id => issue},
+ :remote => true,
+ :method => :delete,
+ :data => {:confirm => l(:text_are_you_sure)},
+ :title => l(:label_relation_delete)) if manage_allowed %>
<% end %>