diff --git a/views/default.handlebars b/views/default.handlebars index 0168d700..64034252 100644 --- a/views/default.handlebars +++ b/views/default.handlebars @@ -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 = ''; + }); + \ No newline at end of file