From: Fiona Ebner <f.ebner@proxmox.com>
To: pve-devel@lists.proxmox.com
Subject: [pve-devel] [PATCH manager] ui: qemu: show progress bar for resize task
Date: Fri, 9 Jun 2023 10:25:50 +0200 [thread overview]
Message-ID: <20230609082550.21158-1-f.ebner@proxmox.com> (raw)
The API call was changed to spawn a task now.
Signed-off-by: Fiona Ebner <f.ebner@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
next reply other threads:[~2023-06-09 8:26 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-06-09 8:25 Fiona Ebner [this message]
2023-06-09 9:06 ` [pve-devel] applied: " Thomas Lamprecht
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230609082550.21158-1-f.ebner@proxmox.com \
--to=f.ebner@proxmox.com \
--cc=pve-devel@lists.proxmox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal