fix a bug that came from API refactor.

This commit is contained in:
Jessica Wang 2010-11-15 10:39:16 -08:00
parent 863a94d3d2
commit 1cd5526911

View File

@ -1846,7 +1846,7 @@ function toBooleanValue(booleanText) {
}
function toNetworkType(usevirtualnetwork) {
if(usevirtualnetwork == "true")
if(usevirtualnetwork == true || usevirtualnetwork == "true")
return "Public";
else
return "Direct";