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:
Jean-Philippe Lang 2010-01-07 20:56:41 +00:00
parent eb3b7d055a
commit eecc6864a9
1 changed files with 1 additions and 0 deletions

View File

@ -22,6 +22,7 @@
<td class="buttons">
<%= link_to l(:button_test), :action => 'test_connection', :id => source %>
<%= link_to l(:button_delete), { :action => 'destroy', :id => source },
:method => :post,
:confirm => l(:text_are_you_sure),
:class => 'icon icon-del',
:disabled => source.users.any? %>