bug 7744: after tab action succeeds, click middle menu item to show action info if the action belongs to the currently selected middle menu item.

This commit is contained in:
Jessica Wang 2011-01-06 17:26:26 -08:00
parent f80e352988
commit 4fa6fc4d7c
1 changed files with 4 additions and 1 deletions

View File

@ -167,7 +167,10 @@ function handleMidMenuItemAfterDetailsTabAction($midmenuItem1, isSuccessful, aft
if(isSuccessful)
$infoIcon.removeClass("error");
else
$infoIcon.addClass("error");
$infoIcon.addClass("error");
if($midmenuItem1.attr("id") == selected_midmenu_id)
$midmenuItem1.click();
}
//***** actions for a tab in right panel (end) **************************************************************************