mirror of https://github.com/apache/cloudstack.git
fix a bug that clicking system menuexpands too slow.
This commit is contained in:
parent
5db4f229eb
commit
a8429fbe3c
|
|
@ -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;
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue