Skip to content

Commit

Permalink
Merge pull request #1342 from GregP/optimize_planning_reset_flash_msg…
Browse files Browse the repository at this point in the history
…_display

Delete duplicate flash message display in Optimize Planning page
(cherry picked from commit c922477)

https://bugzilla.redhat.com/show_bug.cgi?id=1454443
  • Loading branch information
h-kataria authored and simaishi committed May 23, 2017
1 parent d503397 commit 604983f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/controllers/miq_capacity_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -564,6 +564,7 @@ def planning_build_options
page << javascript_pf_toolbar_reload('view_tb', v_tb) if v_tb.present?
page << javascript_for_miq_button_visibility(session[:changed])
page.replace("planning_options_div", :partial => "planning_options")
@flash_array = nil # Make sure to reset flash message after initial display
page.replace_html("main_div", :partial => "planning_tabs")
end
end
Expand Down

0 comments on commit 604983f

Please sign in to comment.