{name: 'active'},
{name: 'cidr'},
{name: 'cidr6'},
+ {name: 'address'},
+ {name: 'address6'},
{name: 'comments'},
{name: 'iface'},
{name: 'slaves'},
extend: 'Proxmox.form.ComboGrid',
alias: 'widget.proxmoxNetworkSelector',
- nodename: 'localhost',
controller: 'proxmoxNetworkSelectorController',
+
+ nodename: 'localhost',
setNodename: function(nodename) {
this.nodename = nodename;
var networkSelectorStore = this.getStore();
if (record.data.cidr6) {
let dest = (record.data.cidr) ? record.copy(null) : record;
dest.data.cidr = record.data.cidr6;
+ dest.data.address = record.data.address6;
delete record.data.cidr6;
dest.data.comments = record.data.comments6;
delete record.data.comments6;
hideable: false,
flex: 1
},
+ {
+
+ header: gettext('IP'),
+ dataIndex: 'address',
+ hidden: true,
+ },
{
header: gettext('Interface'),
width: 90,