From f36c659365194a2d04936bfc577063c0670ff564 Mon Sep 17 00:00:00 2001 From: Dominik Csapak Date: Fri, 21 May 2021 12:20:22 +0200 Subject: [PATCH] ui: tape/BackupOverview: do not reload on restore a restore does not change the tape content, so a reload has no benefit here. since we're touching those lines, change to 'autoShow' property Signed-off-by: Dominik Csapak --- www/tape/BackupOverview.js | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/www/tape/BackupOverview.js b/www/tape/BackupOverview.js index 3d49678b..9ab3a128 100644 --- a/www/tape/BackupOverview.js +++ b/www/tape/BackupOverview.js @@ -23,15 +23,11 @@ Ext.define('PBS.TapeManagement.BackupOverview', { let uuid = rec.data['media-set-uuid']; let prefilter = rec.data.prefilter; Ext.create('PBS.TapeManagement.TapeRestoreWindow', { + autoShow: true, mediaset, uuid, prefilter, - listeners: { - destroy: function() { - me.reload(); - }, - }, - }).show(); + }); }, loadContent: async function() {