mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2024-12-24 06:05:53 -05: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