Removes a call to link_to_remote.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10026 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2012-07-18 16:31:36 +00:00
parent 7b3aaca83c
commit a49d50614f
1 changed files with 8 additions and 8 deletions

View File

@ -11,14 +11,14 @@
<ul> <ul>
<% @changeset.issues.visible.each do |issue| %> <% @changeset.issues.visible.each do |issue| %>
<li id="<%= "related-issue-#{issue.id}" %>"><%= link_to_issue issue %> <li id="<%= "related-issue-#{issue.id}" %>"><%= link_to_issue issue %>
<%= link_to_remote(image_tag('link_break.png'), <%= link_to(image_tag('link_break.png'),
{:url => {:controller => 'repositories', :action => 'remove_related_issue', {:controller => 'repositories', :action => 'remove_related_issue',
:id => @project, :repository_id => @repository.identifier_param, :id => @project, :repository_id => @repository.identifier_param,
:rev => @changeset.identifier, :issue_id => issue}, :rev => @changeset.identifier, :issue_id => issue},
:method => :delete, :remote => true,
:data => {:confirm => l(:text_are_you_sure)}, :method => :delete,
}, :title => l(:label_relation_delete)) if manage_allowed %> :data => {:confirm => l(:text_are_you_sure)},
:title => l(:label_relation_delete)) if manage_allowed %>
</li> </li>
<% end %> <% end %>
</ul> </ul>