WIP: Road to 1.0.0 #1
4
public/js/unsaved.js
Normal file
4
public/js/unsaved.js
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.";
|
||||||
|
});
|
Loading…
x
Reference in New Issue
Block a user