Add exit popup
This commit is contained in:
parent
14a8e9e9d5
commit
7319d091e2
|
@ -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.";
|
||||
});
|
Loading…
Reference in New Issue