brouter-web/js
Henrik Fehlauer 13794c3df3 Set focus in modals to first input field by default
After invoking a shortcut, some dialogs required pressing `Tab`
or using the mouse until focus was moved to the primary input field.

By moving the focus automatically, users can start typing right away.
This is particularly useful in conjunction with the `Return` key for
confirming the dialog.

Test Plan:
- Press `X` to open "Export" dialog:
  "Name" field has focus.
- Press `Shift+O` to open "Load track as route":
  "Trackfile" is focussed, file dialog opens with `Space`.
- Check "Load no-go area" dialog.
- Check "POI name" dialog.
2021-03-31 18:00:00 +00:00
..
control Show specific message type for loading 2021-03-24 09:32:49 +01:00
plugin Allow Return key to accept dialog when loading no-go areas or track as route 2021-03-30 18:00:00 +00:00
router Determine allowed zone from admin boundaries (#359) 2021-01-15 22:29:20 +01:00
util Update prettier version 2020-12-05 11:51:16 +01:00
Browser.js Update prettier version 2020-12-05 11:51:16 +01:00
index.js Set focus in modals to first input field by default 2021-03-31 18:00:00 +00:00
LayersConfig.js Show specific message type for loading 2021-03-24 09:32:49 +01:00
Map.js Add credit for POIs, link to configured instance 2021-03-24 11:02:21 +01:00
Util.js Determine country rules by enclosing boundary 2021-01-23 12:43:13 +01:00
WhatsNew.js Avoid what's new content blinking 2021-03-26 16:19:33 +01:00