[wp-trac] [WordPress Trac] #36900: Media grid AttachmentsBrowser arrows navigation and restoreFocus() no longer work

WordPress Trac noreply at wordpress.org
Tue Jun 21 13:34:22 UTC 2016


#36900: Media grid AttachmentsBrowser arrows navigation and restoreFocus() no
longer work
------------------------------+------------------------------
 Reporter:  afercia           |       Owner:  adamsilverstein
     Type:  defect (bug)      |      Status:  closed
 Priority:  normal            |   Milestone:  4.5.3
Component:  Media             |     Version:  4.5
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch commit  |     Focuses:  javascript
------------------------------+------------------------------
Changes (by joemcgill):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"37755"]:
 {{{
 #!CommitTicketReference repository="" revision="37755"
 Media: Restore keyboard navigation of the media grid.

 This changes the binding of event listeners in the Attachments Browser
 to use `on` instead of `listenTo` for the `attachment:keydown:arrow` and
 `attachment:details:shift-tab` events. The existing listeners broke
 when we upgraded Backbone in [36546].

 Props adamsilverstein.
 Fixes #36900.
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/36900#comment:12>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list