From a8429fbe3cbac05057e40fe5191329fb64ae4751 Mon Sep 17 00:00:00 2001 From: Jessica Wang Date: Fri, 3 Dec 2010 19:39:10 -0800 Subject: [PATCH] fix a bug that clicking system menuexpands too slow. --- ui/scripts/cloud.core.init.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/ui/scripts/cloud.core.init.js b/ui/scripts/cloud.core.init.js index d8854fe7819..f4e6aefdfd5 100644 --- a/ui/scripts/cloud.core.init.js +++ b/ui/scripts/cloud.core.init.js @@ -35,10 +35,7 @@ $(document).ready(function() { }); $("#leftmenu_system").bind("click", function(event) { - if (selectLeftMenu($(this), true)) { - if($("#leftmenu_physical_resource").find("#physical_resource_arrow").hasClass("expanded_open") == true) - $("#leftmenu_physical_resource").click(); //if resource menu is open (i.e. zonetree is shown), empty zonetree and close resource menu. - } + selectLeftMenu($(this), true); return false; });