[pve-devel] [PATCH manager 09/10] ui: form/ControllerSelector: add option for selecting free on inital config
Dominik Csapak
d.csapak at proxmox.com
Mon Sep 20 14:23:37 CEST 2021
we will sometimes directly give it a config, so the id can be selected
at the start
Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
www/manager6/form/ControllerSelector.js | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/www/manager6/form/ControllerSelector.js b/www/manager6/form/ControllerSelector.js
index ba83b4dd..71332db5 100644
--- a/www/manager6/form/ControllerSelector.js
+++ b/www/manager6/form/ControllerSelector.js
@@ -111,5 +111,9 @@ Ext.define('PVE.form.ControllerSelector', {
});
me.callParent();
+
+ if (me.selectFree) {
+ me.setVMConfig(me.vmconfig);
+ }
},
});
--
2.30.2
More information about the pve-devel
mailing list