Add exit popup
This commit is contained in:
4
public/js/unsaved.js
vendored
Normal file
4
public/js/unsaved.js
vendored
Normal 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.";
|
||||
});
|
Reference in New Issue
Block a user