From 0849d4adacdf0432a172d41b15e439af4da1853b Mon Sep 17 00:00:00 2001 From: Harpreet Kataria Date: Wed, 7 Aug 2019 16:02:04 -0400 Subject: [PATCH] Do not remember tab when downloading report from list view. Extended change made in https://github.com/ManageIQ/manageiq-ui-classic/pull/4945 Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1738664 --- app/controllers/application_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index b2efee5e9f5..12c42ea015f 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -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