[pve-devel] [PATCH manager] ui: iso selector: fix disabling

Fiona Ebner f.ebner at proxmox.com
Mon Dec 4 10:29:56 CET 2023


Otherwise, it's impossible to add no or a physical CD to an existing
VM.

Reported in the communiy forum:
https://forum.proxmox.com/threads/136960/post-611704

Fixes: fc7b556d ("ui: refactor iso-selector out of the cd input panel")
Signed-off-by: Fiona Ebner <f.ebner at proxmox.com>
---
 www/manager6/form/IsoSelector.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/www/manager6/form/IsoSelector.js b/www/manager6/form/IsoSelector.js
index 0bc6346c..0f1bf744 100644
--- a/www/manager6/form/IsoSelector.js
+++ b/www/manager6/form/IsoSelector.js
@@ -61,7 +61,7 @@ Ext.define('PVE.form.IsoSelector', {
 	let me = this;
 	me.lookup('storage').setDisabled(disabled);
 	me.lookup('file').setDisabled(disabled);
-	me.callParent();
+	return me.callParent([disabled]);
     },
 
     referenceHolder: true,
-- 
2.39.2





More information about the pve-devel mailing list