[wp-trac] [WordPress Trac] #24145: Confirm page close when writing on WordPress.org forums

WordPress Trac noreply at wordpress.org
Sat Apr 20 22:28:18 UTC 2013


#24145: Confirm page close when writing on WordPress.org forums
--------------------------------+----------------------------
 Reporter:  Daedalon            |       Owner:
     Type:  enhancement         |      Status:  new
 Priority:  normal              |   Milestone:  WordPress.org
Component:  WordPress.org site  |     Version:
 Severity:  normal              |  Resolution:
 Keywords:                      |
--------------------------------+----------------------------

Comment (by Daedalon):

 Forgot one key thing from that JS, to not ask this confirmation on form
 submission:


 {{{
 $('input#postformsub').click( function(){
         requireCloseConfirmation = false;
 });
 }}}

 Also, #postform input[type=checkbox] could be added to the monitored
 elements.

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


More information about the wp-trac mailing list