Make WordPress Core

Changeset 39271


Ignore:
Timestamp:
11/16/2016 10:16:10 PM (8 years ago)
Author:
westonruter
Message:

Customize: Ensure Close button actually closes customizer (instead of going back) after switching to a different theme inside a customize-loader iframe.

Fixes #38833.

File:
1 edited

Legend:

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

    r39237 r39271  
    14511451                request.done( function() {
    14521452                    $( window ).off( 'beforeunload.customize-confirm' );
    1453                     window.location.href = urlParser.href;
     1453                    top.location.href = urlParser.href;
    14541454                } );
    14551455                request.fail( function() {
Note: See TracChangeset for help on using the changeset viewer.