mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2024-11-23 22:57:33 +03:00
Merge pull request #3641 from JSuenram/master
Quick fix for #3362 - Request Confirmation if MeshCentral-Browser-Tab…
This commit is contained in:
commit
71b82689d5
@ -17216,6 +17216,12 @@
|
||||
}
|
||||
}
|
||||
|
||||
// Quick fix for #3362 - Request Confirmation if MeshCentral-Browser-Tab is closed. - Maybe needs an option per User or Config.JSON-Setting
|
||||
window.addEventListener('beforeunload', function (e) {
|
||||
e.preventDefault();
|
||||
e.returnValue = '';
|
||||
});
|
||||
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
Loading…
Reference in New Issue
Block a user