Project

General

Profile

« Previous | Next » 

Revision da63ee3a

Added by Robert Birnie over 11 years ago

  • ID da63ee3a86232866c4413edd8c4e92fdff28a8c6

fixes #1862 resets cookie after deleting hosts

View differences:

app/views/hosts/multiple_destroy.html.erb
<%= render 'selected_hosts', :hosts => @hosts %>
<%= form_tag submit_multiple_destroy_hosts_path(:host_ids => params[:host_ids]) do -%>
<%= form_tag submit_multiple_destroy_hosts_path(:host_ids => params[:host_ids]), :onsubmit => "resetSelection()" do -%>
<span class="label label-warning">Warning</span> This might take a while, as all hosts, facts and reports will be destroyed as well
<% end %>

Also available in: Unified diff