From: Dietmar Maurer Date: Thu, 18 Feb 2021 09:10:51 +0000 (+0100) Subject: ui: tape/TapeInventory.js - avoid update changer status X-Git-Tag: v1.0.9~195 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=65535670f959313a123898f461e7bbf719bf4502;p=proxmox-backup.git ui: tape/TapeInventory.js - avoid update changer status We do not update changer status by default - only when pressing "Reload" button. --- diff --git a/www/tape/TapeInventory.js b/www/tape/TapeInventory.js index fbcb6262..d7c0b93f 100644 --- a/www/tape/TapeInventory.js +++ b/www/tape/TapeInventory.js @@ -103,7 +103,15 @@ Ext.define('PBS.TapeManagement.TapeInventory', { }, reload: function() { - this.getView().getStore().load(); + this.getView().getStore().load({ + params: { 'update-status': false } + }); + }, + + reload_update_status: function() { + this.getView().getStore().load({ + params: { 'update-status': true } + }); }, }, @@ -121,7 +129,7 @@ Ext.define('PBS.TapeManagement.TapeInventory', { tbar: [ { text: gettext('Reload'), - handler: 'reload', + handler: 'reload_update_status', }, '-', {