[pve-devel] [PATCH manager] gui: qemu: allow move disk for EFI Disk again
Dominik Csapak
d.csapak at proxmox.com
Fri Oct 11 12:09:45 CEST 2019
with commit
7d07e92edaf9c58631953ab7f300a125d63fdd95
we changed how we define isUsedDisk, which was true for efidisks before,
but not after
use the existing 'isEfi' varable to include them for the move_btn
(but not the resize_btn)
Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
www/manager6/qemu/HardwareView.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/www/manager6/qemu/HardwareView.js b/www/manager6/qemu/HardwareView.js
index cd65d14d..3d029411 100644
--- a/www/manager6/qemu/HardwareView.js
+++ b/www/manager6/qemu/HardwareView.js
@@ -607,7 +607,7 @@ Ext.define('PVE.qemu.HardwareView', {
resize_btn.setDisabled(pending || !isUsedDisk || !diskCap);
- move_btn.setDisabled(pending || !isUsedDisk || !diskCap);
+ move_btn.setDisabled(pending || !(isUsedDisk || isEfi) || !diskCap);
revert_btn.setDisabled(!pending);
--
2.20.1
More information about the pve-devel
mailing list