]> git.proxmox.com Git - pve-manager.git/commit
ui: qemu: make DisplayEdit declarative and drop DisplaySelector
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 9 Feb 2018 12:08:07 +0000 (13:08 +0100)
committerDominik Csapak <d.csapak@proxmox.com>
Fri, 9 Feb 2018 13:46:14 +0000 (14:46 +0100)
commit8a56fe1a878a8ef8ad0b401460791a6fdfa3827a
treea90e01c19563e19131dfab08068b24a1096e1b7f
parent5ce972f6c50069d69bff0927f23756f6bbe64503
ui: qemu: make DisplayEdit declarative and drop DisplaySelector

DisplayEdit did not get a cleanup during our ExtJS 4 to ExtJS 6
cleanup, in fact it was really touched in the last 5 years.

So refactor it to a declarative syntax, at least almost, we keep the
me.load in initComponent, just to much hassle to adress this for now.

Also purge DisplaySelector. It was a component inheriting from
KVComboBox with the possible VGA values as items only used here.
So just use a KVComboBox directly and set comboboxItems directly.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
www/manager6/Makefile
www/manager6/form/DisplaySelector.js [deleted file]
www/manager6/qemu/DisplayEdit.js