mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-07-27 07:54:52 +00:00
fix bug #756: force macro setting to emtpy string when user erases the content
This commit is contained in:
parent
24bf5bd4d4
commit
aa0b406653
@ -59,7 +59,7 @@ Ext.define('PVE.FirewallRulePanel', {
|
||||
// hack: editable ComboGrid returns nothing when empty, so we need to set ''
|
||||
// Also, disabled text fields return nothing, so we need to set ''
|
||||
|
||||
Ext.Array.each(['source', 'dest', 'proto', 'sport', 'dport'], function(key) {
|
||||
Ext.Array.each(['source', 'dest', 'proto', 'sport', 'dport', 'macro'], function(key) {
|
||||
if (values[key] === undefined) {
|
||||
values[key] = '';
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user