Removes a call to link_to_remote.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10028 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2012-07-18 16:47:30 +00:00
parent b0757bbdf6
commit 6f3c339e5e
1 changed files with 6 additions and 7 deletions

View File

@ -19,13 +19,12 @@
<td class="status"><%=h relation.other_issue(@issue).status.name %></td>
<td class="start_date"><%= format_date(relation.other_issue(@issue).start_date) %></td>
<td class="due_date"><%= format_date(relation.other_issue(@issue).due_date) %></td>
<td class="buttons"><%= link_to_remote(
image_tag('link_break.png'),
{ :url => {:controller => 'issue_relations', :action => 'destroy', :id => relation},
:method => :delete,
:data => {:confirm => l(:text_are_you_sure)} },
:title => l(:label_relation_delete)
) if authorize_for('issue_relations', 'destroy') %></td>
<td class="buttons"><%= link_to image_tag('link_break.png'),
{:controller => 'issue_relations', :action => 'destroy', :id => relation},
:remote => true,
:method => :delete,
:data => {:confirm => l(:text_are_you_sure)},
:title => l(:label_relation_delete) if User.current.allowed_to?(:manage_issue_relations, @project) %></td>
</tr>
<% end %>
</table>