Fixed: 'Delete' link on LDAP list has no effect (#4530).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3282 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
eb3b7d055a
commit
eecc6864a9
@ -22,6 +22,7 @@
|
|||||||
<td class="buttons">
|
<td class="buttons">
|
||||||
<%= link_to l(:button_test), :action => 'test_connection', :id => source %>
|
<%= link_to l(:button_test), :action => 'test_connection', :id => source %>
|
||||||
<%= link_to l(:button_delete), { :action => 'destroy', :id => source },
|
<%= link_to l(:button_delete), { :action => 'destroy', :id => source },
|
||||||
|
:method => :post,
|
||||||
:confirm => l(:text_are_you_sure),
|
:confirm => l(:text_are_you_sure),
|
||||||
:class => 'icon icon-del',
|
:class => 'icon icon-del',
|
||||||
:disabled => source.users.any? %>
|
:disabled => source.users.any? %>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user