Ticket #36900: 36900.diff
| File 36900.diff, 810 bytes (added by , 10 years ago) |
|---|
-
src/wp-includes/js/media-views.js
4085 4085 }); 4086 4086 4087 4087 // Add keydown listener to the instance of the Attachments view 4088 this. attachments.listenTo( this.controller, 'attachment:keydown:arrow', this.attachments.arrowEvent);4089 this. attachments.listenTo( this.controller, 'attachment:details:shift-tab', this.attachments.restoreFocus);4088 this.controller.on( 'attachment:keydown:arrow', _.bind( this.attachments.arrowEvent, this.attachments ) ); 4089 this.controller.on( 'attachment:details:shift-tab', _.bind( this.attachments.restoreFocus, this.attachments ) ); 4090 4090 4091 4091 this.views.add( this.attachments ); 4092 4092
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)