CLOUDSTACK-537: cloudstack UI - Advanced SG-enabled zone - VM Wizard - API has been chagned. Here is related UI change: not pass networkID to deployVirtualMachine API.

This commit is contained in:
Jessica Wang 2013-01-16 15:10:24 -08:00
parent eeb3f1725d
commit a22bfd7e7b

View File

@ -546,6 +546,7 @@
if(checkedSecurityGroupIdArray.length > 0) if(checkedSecurityGroupIdArray.length > 0)
array1.push("&securitygroupids=" + checkedSecurityGroupIdArray.join(",")); array1.push("&securitygroupids=" + checkedSecurityGroupIdArray.join(","));
/*
if(selectedZoneObj.networktype == "Advanced" && selectedZoneObj.securitygroupsenabled == true) { // Advanced SG-enabled zone if(selectedZoneObj.networktype == "Advanced" && selectedZoneObj.securitygroupsenabled == true) { // Advanced SG-enabled zone
var networkData = { var networkData = {
zoneId: selectedZoneObj.id, zoneId: selectedZoneObj.id,
@ -577,6 +578,8 @@
return; return;
} }
} }
*/
} }
else if (step5ContainerType == 'nothing-to-select') { else if (step5ContainerType == 'nothing-to-select') {
if(args.context.networks != null) { //from VPC tier if(args.context.networks != null) { //from VPC tier