]> git.proxmox.com Git - proxmox-widget-toolkit.git/commit - src/Utils.js
Utils: add errorCallback to monStoreErrors
authorStefan Reiter <s.reiter@proxmox.com>
Thu, 22 Apr 2021 15:34:55 +0000 (17:34 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 22 Apr 2021 15:52:52 +0000 (17:52 +0200)
commit661faeedf5bd898963c2cda0a983d03f4a3f24dc
tree31e717eed3bf5c97c84c7f1cac65265079ec58d0
parent1334cdcabccd1800f3e7043b54a200c736a13a65
Utils: add errorCallback to monStoreErrors

Call a function to decide if we want to mask the component. If the
callback returns true, we assume it has already handled the error (i.e.
shown a messagebox or similar) and skip masking.

Signed-off-by: Stefan Reiter <s.reiter@proxmox.com>
src/Utils.js