]> git.proxmox.com Git - pve-manager.git/commitdiff
ui: qemu: show progress bar for resize task
authorFiona Ebner <f.ebner@proxmox.com>
Fri, 9 Jun 2023 08:25:50 +0000 (10:25 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 9 Jun 2023 09:06:13 +0000 (11:06 +0200)
The API call was changed to spawn a task now.

Signed-off-by: Fiona Ebner <f.ebner@proxmox.com>
www/manager6/qemu/HDResize.js

index f9c7290d172d753bdf592148b528185855f69f1b..97bec73b1b8275bb982dd6f8ccf1111b9d02845f 100644 (file)
@@ -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();
            },
        });