diff --git a/client/lib/posts/actions.js b/client/lib/posts/actions.js index 0b78037dbf0dc..8f5c862a51995 100644 --- a/client/lib/posts/actions.js +++ b/client/lib/posts/actions.js @@ -211,7 +211,7 @@ PostActions = { } ); } else { - PostActions.saveEdited( null, null, callback, { recordSaveEvent: false } ); + PostActions.saveEdited( null, null, callback, { recordSaveEvent: false, autosave: true } ); } }, @@ -347,6 +347,9 @@ PostActions = { context: 'edit', apiVersion: '1.2', }; + if ( options && options.autosave ) { + query.autosave = options.autosave; + } if ( ! options || options.recordSaveEvent !== false ) { recordSaveEvent( context ); // do this before changing status from 'future'