[wp-trac] [WordPress Trac] #14356: Better string for onbeforeunload event dialog

WordPress Trac wp-trac at lists.automattic.com
Mon Jul 19 18:53:15 UTC 2010


#14356: Better string for onbeforeunload event dialog
-------------------------+--------------------------------------------------
 Reporter:  demetris     |       Owner:                 
     Type:  enhancement  |      Status:  new            
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  JavaScript   |     Version:                 
 Severity:  normal       |    Keywords:  dev-feedback   
-------------------------+--------------------------------------------------
 The WP string for this now is:

 ''The changes you made will be lost if you navigate away from this page.''

 The resulting dialog is:

 ''Are you sure you want to navigate away from this page?

 ''The changes you made will be lost if you navigate away from this page.

 ''Press OK to continue, or Cancel to stay on the current page.

 ''[OK] [Cancel]

 Which is repetitive and, it seems to me, confusing.

 I was thinking we could change our string to something not repetitive that
 complements better the default strings.  E.g.:

 ''You have unsaved changes that will be lost!

 Patch available upon request.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/14356>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list