bug 12505: guest network page - remove start IP, end IP, netmask.

This commit is contained in:
Jessica Wang 2011-12-15 11:56:11 -08:00
parent f436c147b8
commit a3da4c38ec
1 changed files with 4 additions and 10 deletions

View File

@ -959,20 +959,16 @@
if(selectedZoneObj.networktype == "Basic") {
hiddenFields.push("account");
hiddenFields.push("gateway");
hiddenFields.push("netmask");
hiddenFields.push("startip");
hiddenFields.push("endip");
//hiddenFields.push("netmask");
}
if(selectedGuestNetworkObj.type == "Isolated") {
hiddenFields.push("networkofferingdisplaytext");
hiddenFields.push("networkdomaintext");
hiddenFields.push("gateway");
hiddenFields.push("netmask");
hiddenFields.push("startip");
hiddenFields.push("endip");
//hiddenFields.push("netmask");
}
else {
else { //selectedGuestNetworkObj.type == "Shared"
hiddenFields.push("networkofferingid");
hiddenFields.push("networkdomain");
}
@ -1037,9 +1033,7 @@
domain: { label: 'Domain' },
account: { label: 'Account' },
gateway: { label: 'Gateway' },
netmask: { label: 'Netmask' },
startip: { label: 'Start IP' },
endip: { label: 'End IP' },
//netmask: { label: 'Netmask' },
cidr: { label: 'CIDR' },
networkdomaintext: {
label: 'Network domain'