From 133212f106d8032370e18d4b6f16a52bf5e92206 Mon Sep 17 00:00:00 2001 From: Fabrice Bellingard Date: Thu, 25 Aug 2011 18:56:32 +0200 Subject: [PATCH] SONAR-2702 Turn delete link into a button --- .../webapp/WEB-INF/app/views/project/exclusions.html.erb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/project/exclusions.html.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/project/exclusions.html.erb index 19161bb8b50..44130a13176 100644 --- a/sonar-server/src/main/webapp/WEB-INF/app/views/project/exclusions.html.erb +++ b/sonar-server/src/main/webapp/WEB-INF/app/views/project/exclusions.html.erb @@ -28,8 +28,9 @@ - <%= submit_tag( "Save filters", :id => 'submit_exclusions') %> - <%= link_to 'Delete all filters', {:action => 'delete_exclusions', :id => @project.id}, :method => 'POST', :confirm => "Are you sure you want to delete all exclusion filters ?", :id => 'delete_exclusions' %> + <%= submit_tag( "Save exclusion filters", :id => 'submit_exclusions') %> + @project.id -%>';f.submit(); };return false;"> <% end %> -- 2.39.5