zone detail page - add Guest CIDR field.

This commit is contained in:
Jessica Wang 2012-02-08 11:05:31 -08:00
parent 9a5761243a
commit 43c0034c04

View File

@ -3299,6 +3299,14 @@
tabs: {
details: {
title: 'Details',
preFilter: function(args) {
var hiddenFields = [];
if(selectedZoneObj.networktype == "Basic")
hiddenFields.push("guestcidraddress");
return hiddenFields;
},
fields: [
{
name: { label: 'Zone', isEditable: true }
@ -3311,7 +3319,8 @@
internaldns1: { label: 'Internal DNS 1', isEditable: true },
internaldns2: { label: 'Internal DNS 2', isEditable: true },
domainname: { label: 'Domain' },
networktype: { label: 'Network Type' },
networktype: { label: 'Network Type' },
guestcidraddress : { label: 'Guest CIDR' },
domain: {
label: 'Network domain',
isEditable: true