diff --git a/www/tape/ChangerStatus.js b/www/tape/ChangerStatus.js index 2f9c41f8..2a1931e4 100644 --- a/www/tape/ChangerStatus.js +++ b/www/tape/ChangerStatus.js @@ -194,9 +194,15 @@ Ext.define('PBS.TapeManagement.ChangerStatus', { let me = this; PBS.Utils.driveCommand(record.data.name, 'clean', { waitMsgTarget: me.getView(), - callback: this.reload, - scope: this, method: 'PUT', + success: function(response) { + Ext.create('Proxmox.window.TaskProgress', { + upid: response.result.data, + taskDone: function() { + me.reload(); + }, + }).show(); + }, }); },