[pve-devel] [PATCH v10 manager 14/19] ui: multi disk edit: expose addDisk outside of the controller
Fabian Ebner
f.ebner at proxmox.com
Wed Apr 6 10:04:11 CEST 2022
for convenience when calling it upon import from the wizard.
Signed-off-by: Fabian Ebner <f.ebner at proxmox.com>
---
www/manager6/panel/MultiDiskEdit.js | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/www/manager6/panel/MultiDiskEdit.js b/www/manager6/panel/MultiDiskEdit.js
index cdc1df42..5e0e3ea8 100644
--- a/www/manager6/panel/MultiDiskEdit.js
+++ b/www/manager6/panel/MultiDiskEdit.js
@@ -9,6 +9,10 @@ Ext.define('PVE.panel.MultiDiskPanel', {
this.getController().removeAllDisks();
},
+ addDisk: function(confid, settings) {
+ this.getController().addDisk(confid, settings);
+ },
+
border: false,
bodyBorder: false,
--
2.30.2
More information about the pve-devel
mailing list