HomePhabricator

autosave: Handle switched document with no transactions

Authored by Esanders on Mar 4 2018, 11:31 PM.

Description

autosave: Handle switched document with no transactions

Always store immediately if fromEditedState is true. Also
now that we only store if there is state to recover, remove
the check for transactions before deciding to show the notification.

Change-Id: I5357a9098b91e303f5c71881ea03a080d2969fff

Details

Committed
EsandersMar 4 2018, 11:40 PM
Parents
rEVED007bb6fa0974: Refactor diffpage init
Branches
Unknown
Tags
Unknown
References
refs/changes/72/416372/1
ChangeId
I5357a9098b91e303f5c71881ea03a080d2969fff