bug 7692: Fixed issues with clicking on the physical resource link and resulting in the mid item section showing up.

This commit is contained in:
will 2010-12-27 16:52:35 -08:00
parent 94bbaebf52
commit 3d334193ec
1 changed files with 7 additions and 10 deletions

View File

@ -182,18 +182,15 @@ $(document).ready(function() {
});
$("#leftmenu_physical_resource").bind("click", function(event) {
showMiddleMenu();
clearMiddleMenu();
clearButtonsOnTop();
expandOrCollapseZoneTree();
$("#right_panel").data("onRefreshFn", function() {
$("#leftmenu_physical_resource").click();
});
if(currentRightPanelJSP != "jsp/resource.jsp") {
clearButtonsOnTop();
if(currentRightPanelJSP != "jsp/resource.jsp") {
expandOrCollapseZoneTree();
$("#right_panel").data("onRefreshFn", function() {
$("#leftmenu_physical_resource").click();
});
//clearButtonsOnTop();
removeDialogs();
$("#right_panel").load("jsp/resource.jsp", function(){
currentRightPanelJSP = "jsp/resource.jsp";