]> git.proxmox.com Git - pve-manager.git/commit
ui: form/ControllerSelector: set correct max value for the device-id
authorDominik Csapak <d.csapak@proxmox.com>
Wed, 22 Sep 2021 09:27:39 +0000 (11:27 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 4 Oct 2021 06:55:05 +0000 (08:55 +0200)
commit3d0b402b0382b7a1986b90135cd041eb270b309f
treec5cd49b34e5eee8f760417a27581177d88e5c88a
parent74c0b9a9079c34e74039d2a4cc24203c8088c072
ui: form/ControllerSelector: set correct max value for the device-id

the 'diskControllerMaxIDs' object in Utils does not describe the
'maximum ids', but the maximum *number* of ids, so the max is one less

correctly set that instead

the api rejected those values (e.g. ide4) already, so its only a ui change

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
www/manager6/form/ControllerSelector.js