]> git.proxmox.com Git - pve-manager.git/commit - www/manager6/qemu/HardwareView.js
give error instead of disabling efidisk button
authorDominik Csapak <d.csapak@proxmox.com>
Tue, 13 Sep 2016 13:12:26 +0000 (15:12 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Tue, 13 Sep 2016 14:45:49 +0000 (16:45 +0200)
commit1535df627bb2a74bc3ff8617bb2b0a8169979c6c
tree25b8e60e546207e72a96c54f244c18af3385891e
parentf3777880e9c1ffc77d2dffbdc344dcc94a62544a
give error instead of disabling efidisk button

when seabios is selected, we do not want to simply
disable the add efi button, because it is not clear
why it is disabled

so we give a meaningful error message instead

the button is still 'just' disabled when there
is already an efidisk, because then it is clear
that you alread have one

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