Removes a call to link_to_remote.

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

View File

@ -39,12 +39,7 @@
"$('member-#{membership.id}-roles').hide(); $('member-#{membership.id}-roles-form').show(); return false;",
:class => 'icon icon-edit'
%>
<%= link_to_remote(
l(:button_delete),
{ :url => user_membership_path(@user, membership),
:method => :delete },
:class => 'icon icon-del'
) if membership.deletable? %>
<%= delete_link user_membership_path(@user, membership), :remote => true if membership.deletable? %>
</td>
<%= call_hook(:view_users_memberships_table_row, :user => @user, :membership => membership, :roles => roles, :projects => projects )%>
</tr>