mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-16 02:51:50 +00:00
301c84bda4
This merges all code-paths that re-select a part (i.e. an input widget on the right side of the template dialog). Note there is an edge-case that actually changes with this patch. When a page is removed, and creating a new page fails, there is an `if ( page )` check. Before, the behavior was that nothing gets selected in this case. After this change the behavior is the same as if a page was removed: the closest one gets selected. Not only does this make more sense. The `if` is only a fail-safe anyway and should not result in different behavior. Bug: T288827 Change-Id: Ibb0260587588fb51a876658b16a81c5a73371dc4 |
||
---|---|---|
.. | ||
actions | ||
commands | ||
contextitems | ||
datatransferhandlers | ||
dialogs | ||
elements | ||
inspectors | ||
pages | ||
styles | ||
tools | ||
widgets | ||
ve.ui.MWCommandRegistry.js | ||
ve.ui.MWExtensionWindow.js | ||
ve.ui.MWSequenceRegistry.js | ||
ve.ui.MWSurface.js | ||
ve.ui.MWTransclusionsBooklet.js | ||
ve.ui.MWWikitextCommandRegistry.js | ||
ve.ui.MWWikitextDataTransferHandlerFactory.js | ||
ve.ui.MWWikitextSequenceRegistry.js | ||
ve.ui.MWWikitextSurface.js | ||
ve.ui.MWWikitextTransferRegistry.js |