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:
Dominik Schilling (ocean90) 2014-04-03 19:43:53 +00:00
parent d817c574a3
commit de2c9e23cf

View File

@ -272,7 +272,9 @@ window.wp = window.wp || {};
up.refresh();
});
this.init();
this.uploader.bind( 'PostInit', function() {
self.init();
});
};
// Adds the 'defaults' and 'browser' properties.