[wp-trac] Re: [WordPress Trac] #6707: Your attempt to edit this post: "title" has failed.

WordPress Trac wp-trac at lists.automattic.com
Fri Apr 25 00:04:25 GMT 2008


#6707: Your attempt to edit this post: "title" has failed.
------------------------------+---------------------------------------------
 Reporter:  lloydbudd         |        Owner:  mdawaffe
     Type:  defect            |       Status:  reopened
 Priority:  high              |    Milestone:  2.5.1   
Component:  General           |      Version:  2.5     
 Severity:  critical          |   Resolution:          
 Keywords:  has-patch commit  |  
------------------------------+---------------------------------------------
Changes (by mdawaffe):

  * status:  closed => reopened
  * resolution:  fixed =>

Comment:

 Apparently this is still broken.

 The problem with autosave is that if you click publish before the postid
 or nonce is updated, you get that "failed" error.  We disable the buttons
 to prevent you from doing that, but they auto re-enable after 1 second.  1
 second is no longer fast enough now that each autosave requires severeal
 ajax requests (I guess).

 The attached bumps to 5 seconds, makes sure we manually re-enable the
 buttons on ajax success, and visually dims the disabled buttons for some
 UI feedback.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/6707#comment:8>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list