Project

General

Profile

« Previous | Next » 

Revision a005b7dc

Added by Kavita Gaikwad over 7 years ago

Fixes #12649 - Index search not retained on cancel click

On pages puppet classes and host group, index search is not
retained on form's cancel click.
Added cancel_path_with_index_search method
in file application_helper.rb

View differences:

app/views/hostgroups/_form.html.erb
</div>
<%= f.hidden_field :id %>
<%= submit_or_cancel f %>
<%= submit_or_cancel(f, false, { :cancel_path => cancel_path_with_index_search }) %>
<% end %>

Also available in: Unified diff