mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-07-25 17:29:38 +00:00

move ipam selector to main items as it's non optional, and it's breaking display if present in advanced. move common id,mtu,nodes fields from modules to base Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
33 lines
545 B
JavaScript
33 lines
545 B
JavaScript
Ext.define('PVE.sdn.zones.VlanInputPanel', {
|
|
extend: 'PVE.panel.SDNZoneBase',
|
|
|
|
onlineHelp: 'pvesdn_zone_plugin_vlan',
|
|
|
|
onGetValues: function(values) {
|
|
var me = this;
|
|
|
|
if (me.isCreate) {
|
|
values.type = me.type;
|
|
} else {
|
|
delete values.zone;
|
|
}
|
|
|
|
return values;
|
|
},
|
|
|
|
initComponent: function() {
|
|
var me = this;
|
|
|
|
me.items = [
|
|
{
|
|
xtype: 'textfield',
|
|
name: 'bridge',
|
|
fieldLabel: 'Bridge',
|
|
allowBlank: false,
|
|
},
|
|
];
|
|
|
|
me.callParent();
|
|
},
|
|
});
|