mirror of https://github.com/apache/cloudstack.git
cloudStack 3.0 new UI - system - basic zone - guest network - remove VLAN field and CIDR field.
This commit is contained in:
parent
7c37455b8a
commit
4f7eb448e0
|
|
@ -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' }
|
||||
|
|
|
|||
Loading…
Reference in New Issue