Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- function wpse35898_admin_head() {
- ?>
- <script type="text/javascript">
- window.onbeforeunload = function() {};
- </script>
- <?php
- }
- add_action( 'admin_head' , 'wpse35898_admin_head' );
- ?>
- .................................
- autosave_ask_before_unload:false
- })
Add Comment
Please, Sign In to add comment