]> git.proxmox.com Git - pve-manager.git/commit - www/manager6/grid/FirewallRules.js
ext6migrate: fix display of sport/dport/proto combo boxes
authorEmmanuel Kasper <e.kasper@proxmox.com>
Mon, 15 Feb 2016 08:23:00 +0000 (09:23 +0100)
committerDietmar Maurer <dietmar@proxmox.com>
Mon, 15 Feb 2016 11:28:23 +0000 (12:28 +0100)
commit1fafdce8c2bef65f68368c897ff0d5945f1c7ea5
tree518d6eaab4684641bf40c8cb0cf6c79819034b1a
parent3d990919c2faf6d0d0da2ffc8aa04d34aa8bb91c
ext6migrate: fix display of sport/dport/proto combo boxes

setting the field value of to '' would trigger
the 'change' event which would then disable
the sport/dport/proto comboboxes too early, an empty
form would have the comboboxes disabled too

instead keep the field to a null value if it is empty, but force
it to '' before sending to the pve-proxy

also makes the macro selector keyboard editable, similar to
the other comboboxes in the input panel
www/manager6/grid/FirewallRules.js