WordPress.org

Make WordPress Core

Changeset 39686


Ignore:
Timestamp:
01/05/17 05:17:39 (10 months ago)
Author:
westonruter
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/js/customize-controls.js

    r39622 r39686  
    46974697 
    46984698            api.bind( 'change', function() { 
    4699                 state('saved').set( false ); 
     4699                if ( state( 'saved' ).get() ) { 
     4700                    state( 'saved' ).set( false ); 
     4701                    populateChangesetUuidParam( true ); 
     4702                } 
    47004703            }); 
    47014704 
Note: See TracChangeset for help on using the changeset viewer.