From e7a0fdae261cf24fa1d7e20fae413e3b99f41f95 Mon Sep 17 00:00:00 2001 From: Marcin Kurczewski Date: Sun, 16 Feb 2014 18:57:37 +0100 Subject: [PATCH] Fixed exit confirmation message on Chrome --- public_html/media/js/core.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public_html/media/js/core.js b/public_html/media/js/core.js index 6336c717..c1e28eba 100644 --- a/public_html/media/js/core.js +++ b/public_html/media/js/core.js @@ -295,7 +295,7 @@ function enableExitConfirmation() { $(window).bind('beforeunload', function(e) { - return true; + return 'There are unsaved changes.'; }); }