[wp-trac] [WordPress Trac] #18590: Swap out "return false" JS calls for preventDefault

WordPress Trac wp-trac at lists.automattic.com
Wed Nov 16 08:26:38 UTC 2011


#18590: Swap out "return false" JS calls for preventDefault
----------------------------+------------------------------
 Reporter:  Viper007Bond    |       Owner:
     Type:  enhancement     |      Status:  new
 Priority:  normal          |   Milestone:  Awaiting Review
Component:  Administration  |     Version:  3.3
 Severity:  normal          |  Resolution:
 Keywords:  needs-patch     |
----------------------------+------------------------------

Comment (by nacin):

 Replying to [comment:3 Viper007Bond]:
 > I ended up having to use `$('#foo').live('mouseover', ...)` to hack
 around it.

 For that matter, we also should kill all uses of `.live()`.

 I would not mind an audit of current `return false` statements in our JS.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/18590#comment:8>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list