mediawiki-extensions-Visual.../modules/ve-mw/ui/dialogs
Thiemo Kreuz cb685d1216 Fix enter sometimes focusing the wrong template part
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
2021-09-14 18:14:05 +02:00
..
ve.ui.MWCommandHelpDialog.js doc: Bump copyright year for 2020 2020-01-08 09:13:24 -08:00
ve.ui.MWExtensionDialog.js doc: Bump copyright year for 2020 2020-01-08 09:13:24 -08:00
ve.ui.MWExtensionPreviewDialog.js doc: Bump copyright year for 2020 2020-01-08 09:13:24 -08:00
ve.ui.MWGalleryDialog.js Parse relative hrefs on image nodes like on regular links (try 2) 2021-01-27 11:53:15 +00:00
ve.ui.MWMediaDialog.js ve.ui.MWMediaDialog: mediaUploadBooklet may be undefined 2021-06-21 16:46:57 +02:00
ve.ui.MWMetaDialog.js build: Update eslint-config-wikimedia to 0.17.0 2020-08-18 13:16:49 +01:00
ve.ui.MWMobileSaveDialog.js doc: Bump copyright year for 2020 2020-01-08 09:13:24 -08:00
ve.ui.MWPreDialog.js doc: Bump copyright year for 2020 2020-01-08 09:13:24 -08:00
ve.ui.MWRequiredParamBlankConfirmDialog.js doc: Bump copyright year for 2020 2020-01-08 09:13:24 -08:00
ve.ui.MWSaveDialog.js Remove skinning modules when showing preview 2021-07-28 10:55:16 -04:00
ve.ui.MWTableDialog.js doc: Bump copyright year for 2020 2020-01-08 09:13:24 -08:00
ve.ui.MWTemplateDialog.js Fix enter sometimes focusing the wrong template part 2021-09-14 18:14:05 +02:00
ve.ui.MWTransclusionDialog.js Merge "Clean up post- OOUI fix" 2021-09-10 14:37:12 +00:00