mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-17 19:31:51 +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 |
||
---|---|---|
.. | ||
apiresponsecache | ||
styles | ||
targets | ||
ve.init.mw.ArticleTargetEvents.js | ||
ve.init.mw.js | ||
ve.init.mw.Platform.init.js | ||
ve.init.mw.Platform.js | ||
ve.init.mw.SaveErrorHandler.js | ||
ve.init.mw.trackSubscriber.js | ||
ve.init.mw.ViewportZoomHandler.js |