[pve-devel] [PATCH manager v2 09/12] ui: form/ControllerSelector: add option for selecting free on inital config
Dominik Csapak
d.csapak at proxmox.com
Wed Sep 22 11:27:46 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