]> git.proxmox.com Git - pve-manager.git/commit
state provider: drop confirm-query when going back over initial history
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 17 May 2021 14:40:54 +0000 (16:40 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 17 May 2021 15:30:39 +0000 (17:30 +0200)
commit265f10ddac5d55c217dee3a1eecc10e72b1aca4e
tree67c318a5b2c070b4be90cec1cf48a5ea26bc6a31
parent0199b09144f72500f82728bbe8fc84f4092a8ce9
state provider: drop confirm-query when going back over initial history

eslint complains about the window.confirm call, and neither I nor
some other colleagues here did see that dialogue ever in practice.

The confirm here does not adds any real value, as all other back
navigation are unprotected, but have similar potential in loosing
state.

One can always navigate forward via their user agent and for console
(noVNC, xterm.js) we have now a separate check.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
www/manager6/StateProvider.js