mediawiki-extensions-Visual.../modules/ve-mw/init/targets
Ed Sanders b428b296e5 ArticleTarget: Ensure dataPromise rejects when switching fails
Requires switchToFallbackWikitextEditor to return a promise.

We can now pass dataPromise to the progress bar shown when
switching editors, so it hides if the switch fails.

Also fix logic for when a failed load is not retried.

Bug: T306763
Change-Id: I752ca505e7957b392202d44455b1e21b6e50fa63
2022-04-26 16:32:52 +01:00
..
ve.init.mw.ArticleTarget.js ArticleTarget: Ensure dataPromise rejects when switching fails 2022-04-26 16:32:52 +01:00
ve.init.mw.DesktopArticleTarget.js ArticleTarget: Ensure dataPromise rejects when switching fails 2022-04-26 16:32:52 +01:00
ve.init.mw.MobileArticleTarget.js ArticleTarget: Ensure dataPromise rejects when switching fails 2022-04-26 16:32:52 +01:00
ve.init.mw.Target.js Allow auto-save recovery notifications to be suppressed 2022-03-03 23:09:25 +00:00