ezsystems/ezautosave — pull request #21 by yannickroger (2013-09-16 10:12:17+00:00)
Title: Fix EZP-21517: Drafts disappear from dashboard after being edited and resaved

# Description
On some browsers (firefox seems to limit this effect) sometimes, the autosave request is processed after the regular save request.

Since autosave used to save the draft as an internal draft in most cases, that would make the draft disappear from the dashboard.

The proposed fix is for autosave to always save as a regular draft, exactly like if the user clicked on the save button, knowing that autosave is not triggered on an empty form, so it would not create stale drafts.

# Test
Manual test on chrome (could not reproduce it on FF in the first place)