From eecc6864a96f8c4f15cce281d8cf5d46bda1edc8 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Thu, 7 Jan 2010 20:56:41 +0000 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 --- app/views/auth_sources/list.rhtml | 1 + 1 file changed, 1 insertion(+) diff --git a/app/views/auth_sources/list.rhtml b/app/views/auth_sources/list.rhtml index a29a177c7..6e8b4d7db 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? %>