[wp-trac] Re: [WordPress Trac] #3927: Dragging and dropping uploaded image can retain the onclick="return false; " attribute

WordPress Trac wp-trac at lists.automattic.com
Thu May 3 00:21:03 GMT 2007


#3927: Dragging and dropping uploaded image can retain the onclick="return false;"
attribute
----------------------------+-----------------------------------------------
 Reporter:  johnbillion     |        Owner:  andy 
     Type:  defect          |       Status:  new  
 Priority:  low             |    Milestone:  2.3  
Component:  Administration  |      Version:  2.1.2
 Severity:  minor           |   Resolution:       
 Keywords:  needs-patch     |  
----------------------------+-----------------------------------------------
Comment (by johnbillion):

 The solution here would be to apply the `onclick="return false"` action to
 the link dynamically, therefore it wouldn't show up inside the `a` tag
 when you dragged it into the post editing textarea. The upload JS is crazy
 though and I can't figure it out myself.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/3927#comment:6>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list