mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-15 10:35:48 +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 |
||
---|---|---|
.. | ||
ve-mw | ||
ve-wmf/i18n |