bug 7448: zone tree - network - public network page - IP allocation tab - apply new parameter (forvirtualnetwork=true) when calling listVlanIpRanges API.

This commit is contained in:
Jessica Wang 2010-12-08 18:41:04 -08:00
parent 65b1e19b55
commit 01a04ecad0
1 changed files with 1 additions and 1 deletions

View File

@ -158,7 +158,7 @@ function publicNetworkJsonToIpAllocationTab() {
$thisTab.find("#tab_spinning_wheel").show();
$.ajax({
data: createURL("command=listVlanIpRanges&zoneid="+ jsonObj.zoneid), //don't need networkid because one zone has only one public network
data: createURL("command=listVlanIpRanges&zoneid="+ jsonObj.zoneid+"&forvirtualnetwork=true"), //don't need networkid because one zone has only one public network
dataType: "json",
success: function(json) {
var items = json.listvlaniprangesresponse.vlaniprange;