mediawiki-extensions-Visual.../modules/ve-mw/preinit
Bartosz Dziewoński 1dc642ee57 ArticleTargetSaver: Fix handling for data.result !== 'success'
The comment here seems to be wrong, as far as I can tell, this
case can only happen when viewing a diff with no changes
(`data.result === 'nochanges'`) or saving an edit and getting
a captcha (`data.result === 'error'`).

The handling here, added in the recent refactor
b0f4b4c94e, causes both of these
cases to behave wrong (displaying the error message, instead of
empty diff / captcha form).

Change-Id: I305e8ca9ff769c229a93d5fb3307e545a0227f2f
2019-11-19 14:23:58 -05:00
..
styles
.eslintrc.json Replace $.when with ve.promiseAll 2019-11-04 22:06:54 +08:00
ve.init.mw.ArticleTargetLoader.js Config value for X-Parsoid-Variant 2019-11-05 10:56:10 -06:00
ve.init.mw.ArticleTargetSaver.js ArticleTargetSaver: Fix handling for data.result !== 'success' 2019-11-19 14:23:58 -05:00
ve.init.mw.DesktopArticleTarget.init.js build: Update linters 2019-11-01 16:20:22 +00:00
ve.init.mw.DiffLoader.js
ve.init.mw.DiffPage.init.js
ve.init.mw.ProgressBarWidget.js
ve.init.mw.TempWikitextEditorWidget.js
ve.init.MWEditingTabDialog.js
ve.init.MWEditModeTool.js
ve.init.MWVESwitchConfirmDialog.js
ve.init.MWVESwitchPopupWidget.js
ve.init.MWWelcomeDialog.js