From eecc6864a96f8c4f15cce281d8cf5d46bda1edc8 2010-01-07 20:56:41 From: Jean-Philippe Lang Date: 2010-01-07 20:56:41 Subject: [PATCH] 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 --- diff --git a/app/views/auth_sources/list.rhtml b/app/views/auth_sources/list.rhtml index a29a177..6e8b4d7 100644 --- a/app/views/auth_sources/list.rhtml +++ b/app/views/auth_sources/list.rhtml @@ -22,6 +22,7 @@ <%= 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? %>