diff --git a/ui/scripts/cloud.core.js b/ui/scripts/cloud.core.js index 216ba58839b..55d5316f782 100644 --- a/ui/scripts/cloud.core.js +++ b/ui/scripts/cloud.core.js @@ -506,14 +506,17 @@ function copyActionInfoFromMidMenuToRightPanel($midmenuItem1) { } var $midMenuSpinningWheel = $midmenuItem1.find("#spinning_wheel"); - if($midMenuSpinningWheel.css("display") != "none") { - var $detailsTabSpinningWheel = $("#right_panel_content #tab_content_details").find("#spinning_wheel"); + var $detailsTabSpinningWheel = $("#right_panel_content #tab_content_details").find("#spinning_wheel"); + if($midMenuSpinningWheel.css("display") != "none") { if($detailsTabSpinningWheel.css("display") == "none") { var inProcessText = $midMenuSpinningWheel.data("inProcessText"); $detailsTabSpinningWheel.find("#description").text(inProcessText); $detailsTabSpinningWheel.show(); } } + else { + $detailsTabSpinningWheel.hide(); + } } //***** actions for middle menu (end) **************************************************************************