mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-12-03 18:36:20 +00:00
c0ad11b960
When using TwoColConflict with VisualEditor, the autosave buffer wouldn't be cleared after saving the successful merge. This would cause a user to see a "restore changes?" prompt the next time they entered the editor, with the potential to confuse them and cause them to do extra work, repeating the conflict resolution unnecessarily. This change purges the autosave buffer before submitting a merge. Note that it is not transactional, so there is a chance we're losing the autosaved content even if the submit will fail. Bug: T245119 Change-Id: I150023f548c5565412769d644a828176f907bc25 |
||
---|---|---|
.. | ||
ce | ||
dm | ||
init | ||
preinit | ||
tests | ||
themes | ||
ui | ||
ve.MWutils.js |