cloudStack 3.0 new UI - system - basic zone - guest network - remove VLAN field and CIDR field.

This commit is contained in:
Jessica Wang 2011-11-28 11:18:30 -08:00
parent 7c37455b8a
commit 4f7eb448e0
1 changed files with 10 additions and 0 deletions

View File

@ -306,6 +306,16 @@
tabs: {
details: {
title: 'Details',
preFilter: function(args) {
var hiddenFields = [];
if(selectedZoneObj.networktype == "Basic") {
hiddenFields.push("vlan");
hiddenFields.push("guestcidraddress");
}
return hiddenFields;
},
fields: [
{
name: { label: 'Name' }