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

WordPress Trac noreply at wordpress.org
Sat Oct 10 13:24:19 UTC 2015


#18590: Swap out "return false" JS calls for preventDefault
--------------------------------------------+------------------------------
 Reporter:  Viper007Bond                    |       Owner:  adamsilverstein
     Type:  enhancement                     |      Status:  reopened
 Priority:  normal                          |   Milestone:  4.4
Component:  Administration                  |     Version:  3.3
 Severity:  normal                          |  Resolution:
 Keywords:  needs-testing has-patch commit  |     Focuses:  javascript
--------------------------------------------+------------------------------
Changes (by afercia):

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


Comment:

 Please check the edit Permalink "Cancel" link, `e.html(revert_e)` is
 broken now since `e` is now the event and no more `e = $('#editable-post-
 name')`.

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


More information about the wp-trac mailing list