* [pbs-devel] [PATCH proxmox-backup] ui: tape/ChangerStatus: do not show progress on drive clean
@ 2021-02-23 8:14 Dominik Csapak
2021-02-23 8:16 ` [pbs-devel] applied: " Dietmar Maurer
0 siblings, 1 reply; 2+ messages in thread
From: Dominik Csapak @ 2021-02-23 8:14 UTC (permalink / raw)
To: pbs-devel
since we have the state in the grid
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
---
www/tape/ChangerStatus.js | 10 ++--------
1 file changed, 2 insertions(+), 8 deletions(-)
diff --git a/www/tape/ChangerStatus.js b/www/tape/ChangerStatus.js
index 8be600d8..03317c51 100644
--- a/www/tape/ChangerStatus.js
+++ b/www/tape/ChangerStatus.js
@@ -240,14 +240,8 @@ Ext.define('PBS.TapeManagement.ChangerStatus', {
cleanDrive: function(view, rI, cI, button, el, record) {
let me = this;
- let drive = record.data.name;
- me.driveCommand(drive, 'clean', function(response) {
- Ext.create('Proxmox.window.TaskProgress', {
- upid: response.result.data,
- taskDone: function() {
- me.reload();
- },
- }).show();
+ me.driveCommand(record.data.name, 'clean', function(response) {
+ me.reload();
}, {}, 'PUT');
},
--
2.20.1
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-02-23 8:17 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-23 8:14 [pbs-devel] [PATCH proxmox-backup] ui: tape/ChangerStatus: do not show progress on drive clean Dominik Csapak
2021-02-23 8:16 ` [pbs-devel] applied: " Dietmar Maurer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox