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>
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');
statstore.startUpdate();
- pbar.wait();
+ pbar.wait({ text: gettext('running...') });
},
});