ui: tape/BackupOverview: show mediaset loading error in msg box instead
if a catalog is missing (or the loading otherwise throws an error), show the error message in a msg box instead of a mask. this way a user can still navigate the tree Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
parent
8a73ef897a
commit
002865405c
|
@ -148,7 +148,8 @@ Ext.define('PBS.TapeManagement.BackupOverview', {
|
||||||
Proxmox.Utils.setErrorMask(view, false);
|
Proxmox.Utils.setErrorMask(view, false);
|
||||||
node.expand();
|
node.expand();
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
Proxmox.Utils.setErrorMask(view, error.toString());
|
Proxmox.Utils.setErrorMask(view, false);
|
||||||
|
Ext.Msg.alert('Error', error.toString());
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue