[wp-trac] [WordPress Trac] #28952: Media Grid: "Uploaded To" link and "Edit Media" icon are not clickable
    WordPress Trac 
    noreply at wordpress.org
       
    Mon Jul 21 16:49:58 UTC 2014
    
    
  
#28952: Media Grid: "Uploaded To" link and "Edit Media" icon are not clickable
-----------------------------+---------------------------------------------
 Reporter:  SergeyBiryukov   |       Owner:
     Type:  defect (bug)     |      Status:  new
 Priority:  normal           |   Milestone:  4.0
Component:  Media            |     Version:  trunk
 Severity:  normal           |  Resolution:
 Keywords:  has-patch dev-   |     Focuses:  ui, javascript, administration
  feedback                   |
-----------------------------+---------------------------------------------
Comment (by ericlewis):
 This is because `media.view.Attachment` binds all anchor clicks to
 `preventDefault` [https://core.trac.wordpress.org/browser/tags/3.9.1/src
 /wp-includes/js/media-views.js#L4402 here].
 All anchors should be reviewed in this template (and any child classes
 that don't override the events hash). We should change any of these
 anchors to buttons that are not hyperlinks to avoid requiring
 `preventDefault` triggered on click.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/28952#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
    
    
More information about the wp-trac
mailing list