Make form aware publish was pressed

This commit is contained in:
Mike Jolley 2018-06-29 13:58:47 +01:00
parent 920eb551a6
commit cb693a5ccd
1 changed files with 1 additions and 1 deletions

View File

@ -524,7 +524,7 @@ jQuery( function( $ ) {
* After saved, continue with form submission * After saved, continue with form submission
*/ */
save_on_submit_done: function() { save_on_submit_done: function() {
$( 'form#post' ).submit(); $( 'form#post' ).append('<input type="hidden" name="publish" value="1" />').submit();
}, },
/** /**