mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-15 10:35:48 +00:00
a86d824c56
setMode() is called multiple times, but it didn't check whether the mode being set was already set. Because it's a setter, make it idempotent. This fixes the problem where the first input will be focused first, then blurred later, but it introduces a new problem because the label for the 'mode' ActionWidget is set from setMode(). To solve that, factor the setting of this label out into its own function and call it on setup. Bug: 73138 Change-Id: I9bb127f22f6c0b745b393c523ec42f320fc85cf3 |
||
---|---|---|
.. | ||
ve.ui.MWBetaWelcomeDialog.js | ||
ve.ui.MWCancelConfirmDialog.js | ||
ve.ui.MWCitationDialog.js | ||
ve.ui.MWCommandHelpDialog.js | ||
ve.ui.MWMediaDialog.js | ||
ve.ui.MWMetaDialog.js | ||
ve.ui.MWReferenceDialog.js | ||
ve.ui.MWReferencesListDialog.js | ||
ve.ui.MWRequiredParamBlankConfirmDialog.js | ||
ve.ui.MWSaveDialog.js | ||
ve.ui.MWTemplateDialog.js | ||
ve.ui.MWTransclusionDialog.js | ||
ve.ui.MWWikitextSwitchConfirmDialog.js |