VM wizard - take care of a use case that no existing network is checked (only new network is checked) when deploying VM.

This commit is contained in:
Jessica Wang 2011-12-07 17:21:35 -08:00
parent 97a1276cec
commit ef7ee9389f
1 changed files with 3 additions and 0 deletions

View File

@ -445,6 +445,9 @@
checkedNetworks = [];
checkedNetworks.push(args.data["my-networks"]);
}
else { // typeof(args.data["my-networks"]) == null
checkedNetworks = [];
}
//create new network starts here
if(args.data["new-network"] == "create-new-network") {