Plupload wrapper: Call init callback on PostInit event.
Fixes the background image uploader in Customizer, which was broken after [27316]. fixes #27620. git-svn-id: https://develop.svn.wordpress.org/trunk@27933 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
d817c574a3
commit
de2c9e23cf
@ -272,7 +272,9 @@ window.wp = window.wp || {};
|
|||||||
up.refresh();
|
up.refresh();
|
||||||
});
|
});
|
||||||
|
|
||||||
this.init();
|
this.uploader.bind( 'PostInit', function() {
|
||||||
|
self.init();
|
||||||
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
// Adds the 'defaults' and 'browser' properties.
|
// Adds the 'defaults' and 'browser' properties.
|
||||||
|
Loading…
Reference in New Issue
Block a user