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

WordPress Trac noreply at wordpress.org
Thu Nov 8 15:55:45 UTC 2012


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

Comment (by nacin):

 Replying to [comment:5 azaozz]:
 > There is a way to tell TinyMCE the content wasn't modified which will
 cancel the beforeunload event. We need a bit more logic to make sure the
 user hasn't started typing before all shortcodes were replaced with views.
 Patch coming soon.

 We're not going to block the user, right? But rather, once all views are
 loaded, we should only set dirty to false if the user hasn't started
 typing by then.

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


More information about the wp-trac mailing list