mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-29 00:30:44 +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 |
||
---|---|---|
.. | ||
actions | ||
dialogs | ||
inspectors | ||
pages | ||
styles | ||
themes | ||
tools | ||
widgets | ||
ve.ui.MWCommandRegistry.js | ||
ve.ui.MWMobileContext.js | ||
ve.ui.MWMobileSurface.js |