mirror of
https://git.proxmox.com/git/proxmox-widget-toolkit
synced 2025-05-14 19:57:33 +00:00
TaskProgress: show text instead of percentage
The text needs to be defined in the wait() call as otherwise the Ext.Progressbar will show a percentage that is not correct anyway but just reflects where the animated progress bar itself is. Signed-off-by: Aaron Lauterer <a.lauterer@proxmox.com>
This commit is contained in:
parent
8df4bd63d7
commit
d17aa32eb4
@ -37,7 +37,7 @@ Ext.define('Proxmox.window.TaskProgress', {
|
||||
return defaultValue;
|
||||
};
|
||||
|
||||
let pbar = Ext.create('Ext.ProgressBar', { text: 'running...' });
|
||||
let pbar = Ext.create('Ext.ProgressBar');
|
||||
|
||||
me.mon(statstore, 'load', function() {
|
||||
let status = getObjectValue('status');
|
||||
@ -79,7 +79,7 @@ Ext.define('Proxmox.window.TaskProgress', {
|
||||
|
||||
statstore.startUpdate();
|
||||
|
||||
pbar.wait();
|
||||
pbar.wait({ text: gettext('running...') });
|
||||
},
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user