Ticket #36861: 36861.2.diff
File 36861.2.diff, 624 bytes (added by , 9 years ago) |
---|
-
src/wp-includes/js/media-views.js
462 462 * @since 3.9.0 463 463 */ 464 464 activate: function() { 465 this. listenTo( this.frame, 'toolbar:render:edit-image', this.toolbar);465 this.frame.on( 'toolbar:render:edit-image', _.bind( this.toolbar, this ) ); 466 466 }, 467 467 468 468 /** … … 469 469 * @since 3.9.0 470 470 */ 471 471 deactivate: function() { 472 this. stopListening( this.frame);472 this.frame.off( 'toolbar:render:edit-image' ); 473 473 }, 474 474 475 475 /**