Changeset 22791
- Timestamp:
- 11/21/2012 08:34:46 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/js/media-views.js
r22790 r22791 938 938 this.collection.off( null, null, this ); 939 939 940 // Unbind controller events. 941 if ( this.controller && this.controller.off ) 942 this.controller.off( null, null, this ); 943 940 944 // Recursively dispose child views. 941 945 if ( this.views ) … … 1045 1049 if ( this.options.uploader ) { 1046 1050 this.uploader = new media.view.UploaderWindow({ 1051 controller: this, 1047 1052 uploader: { 1048 1053 dropzone: this.modal ? this.modal.$el : this.$el, … … 1733 1738 if ( uploader.dropzone && ! (uploader.dropzone instanceof $) ) 1734 1739 uploader.dropzone = $( uploader.dropzone ); 1740 1741 this.controller.on( 'activate', this.refresh, this ); 1735 1742 }, 1736 1743
Note: See TracChangeset
for help on using the changeset viewer.