cloudstack 3.0 UI - Network page - guest network section - only show guest networks that don't belong to any VPC. Guest networks that belong to VPC can only be seen under VPC section.

This commit is contained in:
Jessica Wang 2012-07-08 14:31:53 -07:00
parent ecf730356d
commit 597fa03222
1 changed files with 3 additions and 1 deletions

View File

@ -345,7 +345,9 @@
async: false,
success: function(data) {
args.response.success({
data: data.listnetworksresponse.network
data: $.grep(data.listnetworksresponse.network, function(item) {
return (item.vpcid == null);
})
});
},
error: function(data) {