Skip to content

Commit

Permalink
Merge pull request #5964 from h-kataria/dont_remember_tab_when_downlo…
Browse files Browse the repository at this point in the history
…ading_from_list_view

Do not remember tab when downloading report from list view.

(cherry picked from commit f0ebf99)

https://bugzilla.redhat.com/show_bug.cgi?id=1738664
  • Loading branch information
mzazrivec authored and simaishi committed Aug 8, 2019
1 parent 3a7229a commit d87822e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/application_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1671,7 +1671,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'
return if %(download_data download_summary_pdf).include?(action_name)

remember_tab
end
Expand Down

0 comments on commit d87822e

Please sign in to comment.