Ticket #36861: 36861.diff
| File 36861.diff, 1.1 KB (added by , 10 years ago) |
|---|
-
src/wp-includes/js/media/controllers/edit-image.js
33 33 * @since 3.9.0 34 34 */ 35 35 activate: function() { 36 this. listenTo( this.frame, 'toolbar:render:edit-image', this.toolbar );36 this.toolbar; 37 37 }, 38 38 39 39 /** … … 40 40 * @since 3.9.0 41 41 */ 42 42 deactivate: function() { 43 this.stopListening( this.frame );44 43 }, 45 44 46 45 /** -
src/wp-includes/js/media-views.js
458 458 url: '' 459 459 }, 460 460 461 461 462 /** 462 463 * @since 3.9.0 463 464 */ 464 465 activate: function() { 465 this. listenTo( this.frame, 'toolbar:render:edit-image', this.toolbar);466 this.toolbar(); 466 467 }, 467 468 468 469 /** … … 469 470 * @since 3.9.0 470 471 */ 471 472 deactivate: function() { 472 this.stopListening( this.frame );473 473 }, 474 474 475 475 /**