Changeset 23705
- Timestamp:
- 03/15/2013 06:15:14 AM (13 years ago)
- File:
-
- 1 edited
-
trunk/wp-includes/js/autosave.js (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/js/autosave.js
r23703 r23705 488 488 result = this.setData( post_data ); 489 489 490 // temp logging 491 if ( this.debug ) 492 console.log( 'saved, post content = %s', post_data.content ); 493 490 494 if ( result ) 491 495 this.lastsaveddata = post_data.post_title + ': ' + post_data.content; … … 584 588 return; 585 589 590 if ( cookie ) 591 wpCookies.remove( 'wp-saving-post-' + post_id ); 592 586 593 // There is a newer autosave. Don't show two "restore" notices at the same time. 587 594 if ( $('#has-newer-autosave').length ) 588 595 return; 596 597 // temp logging 598 if ( typeof console != 'undefined' ) 599 console.log( 'checkPost, post content = %s', post_data.content ); 589 600 590 601 if ( cookie == 'saved' ) {
Note: See TracChangeset
for help on using the changeset viewer.