*
* The Plupload library provides cross-browser uploader UI integration.
* This object bridges the Plupload API to integrate uploads into the
- * WordPress back-end and the WordPress media experience.
+ * WordPress back end and the WordPress media experience.
*
* @param {object} options The options passed to the new plupload instance.
* @param {object} options.container The id of uploader container.
$(self).trigger( 'uploader:ready' );
});
+ this.uploader.bind( 'postinit', function( up ) {
+ up.refresh();
+ self.init();
+ });
+
this.uploader.init();
if ( this.browser ) {
up.refresh();
});
- this.uploader.bind( 'PostInit', function() {
- self.init();
- });
};
// Adds the 'defaults' and 'browser' properties.