Make form aware publish was pressed
This commit is contained in:
parent
920eb551a6
commit
cb693a5ccd
|
@ -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();
|
||||||
},
|
},
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue