Customize: Update customize.php URL with changeset_uuid param the instant a change is made instead of deferring until the changeset update request responds.

Props asalce.
Fixes #39227.


git-svn-id: https://develop.svn.wordpress.org/trunk@39686 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
westonruter 2017-01-05 05:17:39 +00:00
parent 5aa4339693
commit dcddb45ba0

View File

@ -4696,7 +4696,10 @@
editShortcutVisibility( 'visible' );
api.bind( 'change', function() {
state('saved').set( false );
if ( state( 'saved' ).get() ) {
state( 'saved' ).set( false );
populateChangesetUuidParam( true );
}
});
saving.bind( function( isSaving ) {