mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-12-01 17:36:35 +00:00
54d06b2a3d
When recovering from a badtoken error, mw.Target called saveDocument(), but that method only exists in ViewPageTarget. Instead, call .save() again. Also pass the HTMLDocument and the save options around to the success and error handlers, because we need them in order to be able to call .save(). Bug: 64267 Change-Id: I4743f855dc77f4a9ac427d67d15fb96b7ad770f2 |
||
---|---|---|
.. | ||
styles | ||
targets | ||
ve.init.mw.js | ||
ve.init.mw.LinkCache.js | ||
ve.init.mw.Platform.js | ||
ve.init.mw.Target.js | ||
ve.init.mw.TargetEvents.js |