mediawiki-extensions-Visual.../modules/ve-mw/init
Timo Tijhof cf1d7c0dab mw.DesktopArticleTarget: Fix "Uncaught: Cannot read done of undefined"
Regression from 863a2c2974.

Sometimes when clicking "Switch to source mode" in the toolbar this
error is thrown and the interface freezes because setEditorPreference()
only returns a promise if the value is different.

> Uncaught TypeError: Cannot read property 'done' of undefined
> - ve.init.mw.DesktopArticleTarget.switchToWikitextEditor

Change-Id: Ie59f06a8ed9af9c4fb8199b013c06992d0c4f700
2016-03-08 23:13:11 +00:00
..
styles Make surface measurable while activating 2016-02-23 17:05:09 +00:00
targets mw.DesktopArticleTarget: Fix "Uncaught: Cannot read done of undefined" 2016-03-08 23:13:11 +00:00
ve.init.mw.ApiResponseCache.js build: Bump file copyright notices for 2016 2016-01-03 14:57:25 -08:00
ve.init.mw.ArticleTarget.js Update ArticleTarget for new API token handling 2016-03-05 14:44:07 +01:00
ve.init.mw.ArticleTargetEvents.js Follow-up 2c24efae: fix typo in event name for unknown save errors 2016-03-04 17:31:40 -08:00
ve.init.mw.ArticleTargetLoader.js Merge "Try to fix handling of empty document on WTE->VE switch" 2016-03-07 19:48:22 +00:00
ve.init.mw.ImageInfoCache.js MWMediaDialog: Only cache relevant information 2016-02-29 10:16:34 -06:00
ve.init.mw.js build: Bump file copyright notices for 2016 2016-01-03 14:57:25 -08:00
ve.init.mw.LinkCache.js build: Bump file copyright notices for 2016 2016-01-03 14:57:25 -08:00
ve.init.mw.Platform.init.js build: Bump file copyright notices for 2016 2016-01-03 14:57:25 -08:00
ve.init.mw.Platform.js Make platform language functions actually work 2016-02-22 00:05:05 +00:00
ve.init.mw.Target.js Use abstract target widget creation 2016-03-03 11:49:44 -08:00
ve.init.mw.trackSubscriber.js ve.init.mw.trackSubscriber: Sample at 6.25% 2016-02-08 13:22:33 -08:00
ve.init.MWEditingTabDialog.js MWEditingTabDialog: Use 'small' size 2016-01-26 14:51:55 -08:00
ve.init.MWVESwitchConfirmDialog.js Don't give the user the option to discard changes when changing editor 2016-03-07 13:39:32 -08:00