Skip to content

Commit

Permalink
Clear modal after Applying advanced search
Browse files Browse the repository at this point in the history
  • Loading branch information
bmclaughlin committed Jul 30, 2019
1 parent d182270 commit 7c7a4de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/layouts/_adv_search_footer.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
:class => "btn btn-primary",
:alt => t = _("Apply the current filter"),
:title => t,
:onclick => "miqAjaxButton('#{url_for_only_path(:action => 'adv_search_button', :button => "apply")}');")
:onclick => "miqAjaxButton('#{url_for_only_path(:action => 'adv_search_button', :button => "apply")}');$('#advsearchModal').modal('hide');")
- if @edit[@expkey][:selected] && @edit[@expkey][:selected][:typ] != "default" && @edit[@expkey][:selected][:id] != 0
- if report_admin_user? || @edit[@expkey][:selected][:typ] == "user"
- actual_filter = @edit[@expkey][:selected][:description]
Expand Down

0 comments on commit 7c7a4de

Please sign in to comment.