Files
gerrit/polygerrit-ui/app/elements/shared
Ben Rohlfs f22909904c Fix issues with caching edited commit message
As described in issue 12031 it can happen that content restored from
local browser storage overwrites valuable content. This change prevents
this from happening by only restoring from local browser storage on
*first* edit.

Using local storage as a browser wide backup for drafts is still not
fool proof, see added comments in gr-editable-content.js. But we rarely
get reports about this being an issue, so we believe that this fix is
enough for the moment.

Bug: Issue 12031
Change-Id: Ie34410a16cda8f76c7979804dd924c0bdc367d6c
(cherry picked from commit d839910b25)
2020-02-17 15:28:18 +00:00
..
2018-04-16 11:31:56 +02:00
2018-04-09 10:28:35 -07:00
2018-04-27 12:36:29 +02:00