[wp-trac] [WordPress Trac] #18515: UX: better management of workflow in editor (joe is currently editing this post, etc.)

WordPress Trac wp-trac at lists.automattic.com
Thu Aug 25 07:51:18 UTC 2011


#18515: UX: better management of workflow in editor (joe is currently editing this
post, etc.)
-------------------------+------------------
 Reporter:  azaozz       |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  3.3
Component:  General      |     Version:
 Severity:  normal       |  Resolution:
 Keywords:               |
-------------------------+------------------

Comment (by azaozz):

 The patch is for removing the post lock on page unload.

 We may need to delay adding the post lock as unload event is also
 triggered when the user reloads the page. That may result in race
 condition where the XHR removing the lock might arrive later than the new
 request for the page (that adds the lock).

 Tested creating a function that adds the post lock and running it from the
 shutdown action after 2 sec delay (sleep 2). That may need a bit more
 thinking/testing.

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


More information about the wp-trac mailing list