mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-08-14 07:03:23 +00:00
ext6migrate: last fixes for firewall
listen to 'activate' event is needed because of framework changes,
similar to c0b3df6e34
ext6migrate: listen to 'activate' events for panels inside a tabpanel
This commit is contained in:
parent
cee050e2a1
commit
734b37950e
@ -1,16 +1,9 @@
|
||||
Ext.define('PVE.form.FirewallPolicySelector', {
|
||||
extend: 'PVE.form.KVComboBox',
|
||||
alias: ['widget.pveFirewallPolicySelector'],
|
||||
|
||||
initComponent: function() {
|
||||
var me = this;
|
||||
|
||||
me.data = [
|
||||
comboItems: [
|
||||
['ACCEPT', 'ACCEPT'],
|
||||
['REJECT', 'REJECT'],
|
||||
[ 'DROP', 'DROP']
|
||||
];
|
||||
|
||||
me.callParent();
|
||||
}
|
||||
]
|
||||
});
|
||||
|
@ -94,7 +94,7 @@ Ext.define('PVE.FirewallOptions', {
|
||||
xtype: 'pveKVComboBox',
|
||||
name: name,
|
||||
fieldLabel: name,
|
||||
data: [['nolog', 'nolog'], ['info', 'info'], ['err', 'err'],
|
||||
comboItems: [['nolog', 'nolog'], ['info', 'info'], ['err', 'err'],
|
||||
['warning', 'warning'], ['crit', 'crit'], ['alert', 'alert'],
|
||||
['emerg', 'emerg'], ['debug', 'debug']]
|
||||
}
|
||||
@ -226,6 +226,6 @@ Ext.define('PVE.FirewallOptions', {
|
||||
|
||||
me.callParent();
|
||||
|
||||
me.on('show', reload);
|
||||
me.on('activate', reload);
|
||||
}
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user