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:
parent
922f1d5243
commit
7b3aaca83c
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue