so that users see when something went wrong.

Don't mask the grid directly, but rather only its view so that the
title bar can be used for selecting another storage during load.

Reported in the community forum:
https://forum.proxmox.com/threads/get-backups-from-proxmox-randomly-fails.98383/

Signed-off-by: Fabian Ebner <f.eb...@proxmox.com>
---
 www/manager6/grid/BackupView.js | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/www/manager6/grid/BackupView.js b/www/manager6/grid/BackupView.js
index 8825ed96..424a58b9 100644
--- a/www/manager6/grid/BackupView.js
+++ b/www/manager6/grid/BackupView.js
@@ -89,6 +89,8 @@ Ext.define('PVE.grid.BackupView', {
                url: url,
            });
 
+           Proxmox.Utils.monStoreErrors(me.view, me.store, true);
+
            reload();
        };
 
-- 
2.30.2



_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to