mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-03 04:12:31 +01:00
bug 7448: zone tree - network - only show "public network" in middle menu when zone is in advanced-mode.
This commit is contained in:
parent
8ea2959f71
commit
c7ed0cf134
@ -41,6 +41,7 @@ function afterLoadNetworkJSP($leftmenuItem1) {
|
||||
//populate items into middle menu
|
||||
var $midmenuContainer = $("#midmenu_container").empty();
|
||||
|
||||
if(zoneObj.networktype == "Advanced") {
|
||||
$.ajax({
|
||||
data: createURL("command=listNetworks&isSystem=true&zoneId="+zoneObj.id),
|
||||
dataType: "json",
|
||||
@ -58,6 +59,7 @@ function afterLoadNetworkJSP($leftmenuItem1) {
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
$.ajax({
|
||||
data: createURL("command=listNetworks&type=Direct&zoneId="+zoneObj.id),
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user