[pve-devel] [PATCH manager] ui: qemu: show progress bar for resize task

Fiona Ebner f.ebner at proxmox.com
Fri Jun 9 10:25:50 CEST 2023


The API call was changed to spawn a task now.

Signed-off-by: Fiona Ebner <f.ebner at proxmox.com>
---

Dependency bump for qemu-server needed.

 www/manager6/qemu/HDResize.js | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/www/manager6/qemu/HDResize.js b/www/manager6/qemu/HDResize.js
index f9c7290d..97bec73b 100644
--- a/www/manager6/qemu/HDResize.js
+++ b/www/manager6/qemu/HDResize.js
@@ -16,6 +16,10 @@ Ext.define('PVE.window.HDResize', {
 		Ext.Msg.alert(gettext('Error'), response.htmlStatus);
 	    },
 	    success: function(response, options) {
+		Ext.create('Proxmox.window.TaskProgress', {
+		    autoShow: true,
+		    upid: response.result.data,
+		});
 		me.close();
 	    },
 	});
-- 
2.39.2






More information about the pve-devel mailing list