From: Dominik Csapak <d.csapak@proxmox.com>
To: pbs-devel@lists.proxmox.com
Subject: [pbs-devel] [PATCH proxmox-backup] ui: tape/ChangerStatus: do not show progress on drive clean
Date: Tue, 23 Feb 2021 09:14:41 +0100 [thread overview]
Message-ID: <20210223081441.2053-1-d.csapak@proxmox.com> (raw)
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
next reply other threads:[~2021-02-23 8:15 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-02-23 8:14 Dominik Csapak [this message]
2021-02-23 8:16 ` [pbs-devel] applied: " Dietmar Maurer
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=20210223081441.2053-1-d.csapak@proxmox.com \
--to=d.csapak@proxmox.com \
--cc=pbs-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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox