Merge pull request #3641 from JSuenram/master

Quick fix for #3362 - Request Confirmation if MeshCentral-Browser-Tab…
This commit is contained in:
Ylian Saint-Hilaire
2022-02-14 16:24:17 -08:00
committed by GitHub

View File

@@ -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>