From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [212.224.123.68]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by lists.proxmox.com (Postfix) with ESMTPS id 92F6071C18 for ; Fri, 21 May 2021 12:20:31 +0200 (CEST) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 8C938D17F for ; Fri, 21 May 2021 12:20:31 +0200 (CEST) Received: from proxmox-new.maurer-it.com (proxmox-new.maurer-it.com [94.136.29.106]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by firstgate.proxmox.com (Proxmox) with ESMTPS id C16B1D142 for ; Fri, 21 May 2021 12:20:29 +0200 (CEST) Received: from proxmox-new.maurer-it.com (localhost.localdomain [127.0.0.1]) by proxmox-new.maurer-it.com (Proxmox) with ESMTP id 875EF43248 for ; Fri, 21 May 2021 12:20:23 +0200 (CEST) From: Dominik Csapak To: pbs-devel@lists.proxmox.com Date: Fri, 21 May 2021 12:20:22 +0200 Message-Id: <20210521102022.26859-6-d.csapak@proxmox.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210521102022.26859-1-d.csapak@proxmox.com> References: <20210521102022.26859-1-d.csapak@proxmox.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SPAM-LEVEL: Spam detection results: 0 AWL 0.026 Adjusted score from AWL reputation of From: address KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record URIBL_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [rec.data] Subject: [pbs-devel] [PATCH proxmox-backup v4 5/5] ui: tape/BackupOverview: do not reload on restore X-BeenThere: pbs-devel@lists.proxmox.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Proxmox Backup Server development discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 May 2021 10:20:31 -0000 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() { -- 2.20.1