mirror of https://github.com/apache/cloudstack.git
fix a bug that came from API refactor.
This commit is contained in:
parent
863a94d3d2
commit
1cd5526911
|
|
@ -1846,7 +1846,7 @@ function toBooleanValue(booleanText) {
|
|||
}
|
||||
|
||||
function toNetworkType(usevirtualnetwork) {
|
||||
if(usevirtualnetwork == "true")
|
||||
if(usevirtualnetwork == true || usevirtualnetwork == "true")
|
||||
return "Public";
|
||||
else
|
||||
return "Direct";
|
||||
|
|
|
|||
Loading…
Reference in New Issue