Make WordPress Core

Changeset 27933


Ignore:
Timestamp:
04/03/2014 07:43:53 PM (12 years ago)
Author:
ocean90
Message:

Plupload wrapper: Call init callback on PostInit event.
Fixes the background image uploader in Customizer, which was broken after [27316].

fixes #27620.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/js/plupload/wp-plupload.js

    r27693 r27933  
    273273                });
    274274
    275                 this.init();
     275                this.uploader.bind( 'PostInit', function() {
     276                        self.init();
     277                });
    276278        };
    277279
Note: See TracChangeset for help on using the changeset viewer.