From: Fabrice Bellingard Date: Thu, 25 Aug 2011 16:56:32 +0000 (+0200) Subject: SONAR-2702 Turn delete link into a button X-Git-Tag: 2.11^2~126 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=133212f106d8032370e18d4b6f16a52bf5e92206;p=sonarqube.git SONAR-2702 Turn delete link into a button --- 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 %>