mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-15 18:39:52 +00:00
cb685d1216
The behavior of the enter key in the new template dialog sidebar is somewhat inconsistent. When pressing enter on the name of a template it sometimes just doesn't work, but focuses something else. I realized this is because the message "The … template doesn't yet exist." does not have a link. There is nothing to focus in this element. The code just gives up and the selection returns to whatever was selected before. It works when there is a link in the template header. But this is not even that useful. Let's try to always focus the first parameter instead. The user can still press Shift + Tab to focus the link to the template page. Bug: T289043 Change-Id: Id314ee8ebf47d387df08c7fb432094b6d8f7a3d2 |
||
---|---|---|
.. | ||
ve.ui.MWCommandHelpDialog.js | ||
ve.ui.MWExtensionDialog.js | ||
ve.ui.MWExtensionPreviewDialog.js | ||
ve.ui.MWGalleryDialog.js | ||
ve.ui.MWMediaDialog.js | ||
ve.ui.MWMetaDialog.js | ||
ve.ui.MWMobileSaveDialog.js | ||
ve.ui.MWPreDialog.js | ||
ve.ui.MWRequiredParamBlankConfirmDialog.js | ||
ve.ui.MWSaveDialog.js | ||
ve.ui.MWTableDialog.js | ||
ve.ui.MWTemplateDialog.js | ||
ve.ui.MWTransclusionDialog.js |