[wp-trac] [WordPress Trac] #28815: Browser beforeunload confirmation being fired when trashing post

WordPress Trac noreply at wordpress.org
Sun Jul 13 15:40:02 UTC 2014


#28815: Browser beforeunload confirmation being fired when trashing post
-----------------------------------------+-----------------------------
 Reporter:  johnbillion                  |       Owner:
     Type:  defect (bug)                 |      Status:  new
 Priority:  normal                       |   Milestone:  4.0
Component:  Editor                       |     Version:  3.9
 Severity:  normal                       |  Resolution:
 Keywords:  has-patch reporter-feedback  |     Focuses:  administration
-----------------------------------------+-----------------------------
Changes (by bordoni):

 * keywords:  needs-patch => has-patch reporter-feedback


Comment:

 So I've patched it to remove the `beforeunload.edit-post` when the button
 clicked has the class `submitdelete`.

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


More information about the wp-trac mailing list