Add exit popup

This commit is contained in:
Miguel N 2021-01-27 02:01:59 +00:00
parent 14a8e9e9d5
commit 7319d091e2

4
public/js/unsaved.js vendored Normal file
View File

@ -0,0 +1,4 @@
// Load this on all pages requiring exit confirmation.
$(window).bind('beforeunload', function(){
return "Are you sure you want to exit this page? You might have unsaved work.";
});