Skip to content

Commit

Permalink
Merge pull request #4945 from skateman/remember-print
Browse files Browse the repository at this point in the history
Do not store download_summary_pdf using remember tab

(cherry picked from commit 297ba8b)

Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1649867
  • Loading branch information
martinpovolny authored and simaishi committed Nov 26, 2018
1 parent 251928d commit b913268
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/controllers/application_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1812,6 +1812,7 @@ def handle_remember_tab
request.headers['X-Angular-Request'].present?

return if controller_name == 'dashboard' && %(iframe maintab cockpit_redirect).include?(action_name)
return if action_name == 'download_summary_pdf'

remember_tab
end
Expand Down

0 comments on commit b913268

Please sign in to comment.