Commit 2b496af9 authored by Dietmar Maurer's avatar Dietmar Maurer

fix bug #756: force macro setting to emtpy string when user erases the content

parent 9fda9f24
......@@ -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] = '';
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment