Ticket #35853: 35853.diff
| File 35853.diff, 1.2 KB (added by , 10 years ago) |
|---|
-
src/wp-includes/js/media/views/attachments/browser.js
38 38 AttachmentView: wp.media.view.Attachment.Library 39 39 }); 40 40 41 this. listenTo( this.controller, 'toggle:upload:attachment', _.bind( this.toggleUploader, this ));41 this.controller.on( 'toggle:upload:attachment', this.toggleUploader, this ); 42 42 this.controller.on( 'edit:selection', this.editSelection ); 43 43 this.createToolbar(); 44 44 if ( this.options.sidebar ) { -
src/wp-includes/js/media-views.js
3754 3754 AttachmentView: wp.media.view.Attachment.Library 3755 3755 }); 3756 3756 3757 this. listenTo( this.controller, 'toggle:upload:attachment', _.bind( this.toggleUploader, this ));3757 this.controller.on( 'toggle:upload:attachment', this.toggleUploader, this ); 3758 3758 this.controller.on( 'edit:selection', this.editSelection ); 3759 3759 this.createToolbar(); 3760 3760 if ( this.options.sidebar ) {