Changeset 27713
- Timestamp:
- 03/25/2014 04:46:22 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/js/autosave.js
r27092 r27713 1 1 /* global tinymce, wpCookies, autosaveL10n, switchEditors */ 2 // Back-compat: prevent fatal errors 3 window.autosave = function(){}; 2 // Back-compat 3 window.autosave = function() { 4 return true; 5 }; 4 6 5 7 ( function( $, window ) { … … 490 492 var postData, compareString; 491 493 492 if ( isSuspended || _blockSave ) { 494 // window.autosave() used for back-compat 495 if ( isSuspended || _blockSave || ! window.autosave() ) { 493 496 return false; 494 497 }
Note: See TracChangeset
for help on using the changeset viewer.