when the diskid changes Signed-off-by: Dominik Csapak <d.csa...@proxmox.com> --- www/manager6/lxc/MPEdit.js | 5 +++++ 1 file changed, 5 insertions(+)
diff --git a/www/manager6/lxc/MPEdit.js b/www/manager6/lxc/MPEdit.js index 64e57229..2b4f8ebe 100644 --- a/www/manager6/lxc/MPEdit.js +++ b/www/manager6/lxc/MPEdit.js @@ -110,6 +110,11 @@ Ext.define('PVE.lxc.MountPointInputPanel', { control: { 'field[name=mpid]': { change: function(field, value) { + let me = this; + let view = this.getView(); + if (view.confid !== 'rootfs') { + view.fireEvent('diskidchange', view, `mp${value}`); + } field.validate(); }, }, -- 2.30.2 _______________________________________________ pve-devel mailing list pve-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel