[wp-trac] [WordPress Trac] #22266: onbeforeunload alert always triggers with attachments

WordPress Trac noreply at wordpress.org
Wed Nov 14 09:10:09 UTC 2012


#22266: onbeforeunload alert always triggers with attachments
--------------------------+--------------------------
 Reporter:  duck_         |       Owner:  koopersmith
     Type:  defect (bug)  |      Status:  closed
 Priority:  low           |   Milestone:  3.5
Component:  Media         |     Version:  trunk
 Severity:  blocker       |  Resolution:  fixed
 Keywords:                |
--------------------------+--------------------------

Comment (by koopersmith):

 Another method we could use here is to avoid `editor.isDirty()` entirely,
 and compare processed versions of the content. Attaching a patch as an
 example.

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


More information about the wp-trac mailing list