]> git.proxmox.com Git - pve-manager.git/commit
ui: avoid trivial decompression widget, only used once
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 26 Sep 2023 15:55:34 +0000 (17:55 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 27 Sep 2023 05:25:59 +0000 (07:25 +0200)
commit65704cc2a88729479fb15ec2a5b3df683b8f2aac
tree36945953161e3b960ec686ba42de207857a0871a
parente86862bf27de57c6aa14dacb2b0c2b2c25e7258b
ui: avoid trivial decompression widget, only used once

Currently it was only used once and it had not really any benefit, as
the one thing it did is defining a list of compressors – the
KVComboBox is made such, so that this can be done on definition
directly, no need for inheritance.

Also, if one would think about adopting this more for other similar
selectors: While we have some uses of compressors all over the place,
and most of them are not really coupled to each other, so having a
single widget for them does not make sense.

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