No description
Find a file
Henrik Fehlauer f31c379369 Fix broken Return key in export route dialog
2a431932 made it possible to press `Return` to confirm the export dialog.
After 5b52abc1 this stopped working though, even when the text input had focus.

This is due to moving the `<input>` out of the `<form>` and referencing the
form's `name` attribute instead. However "The value of [the form] attribute
must be the id of a <form> in the same document" according to
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button.

Adding such an `id` restores the `Return` key to working properly.

The same change is done for the no-go form, where the same issue would otherwise
affect a later patch adding similar `Return` key handling.

Test Plan:
- Create Route, open "Export route" dialog.
- Move focus to an input field.
- Press `Return`.
- The file dialog for saving should open.
2021-03-27 18:00:00 +00:00
.tx translate via i18next 2019-02-26 18:02:02 +01:00
.vscode add VS Code settings, launch and extension recommondations 2020-06-08 14:34:13 +02:00
css Improve typography for "What's new?" dialog (#391) 2021-03-26 08:28:40 +01:00
js Fix search key 2021-03-27 20:12:42 +01:00
layers Use nwr[] shortcut in all overpass queries 2021-03-21 11:23:45 +01:00
locales Update translations 2021-03-30 12:53:10 +02:00
resources Determine country rules by enclosing boundary 2021-01-23 12:43:13 +01:00
.eslintignore Add Babel and core-js & regenerator polyfills (#367) 2021-02-12 10:07:02 +01:00
.eslintrc.json Add Babel and core-js & regenerator polyfills (#367) 2021-02-12 10:07:02 +01:00
.gitignore Add gulp task to generate a standalone release zip from brouter repo 2019-12-19 21:27:31 +01:00
.prettierignore Add more exceptions to .prettierignore 2021-03-26 18:00:00 +00:00
.prettierrc Increase prettier maxwidth to 120 2019-08-10 19:36:36 +02:00
.travis.yml Run lint in travis 2020-12-05 12:47:31 +01:00
babel.config.js Add overpass-layer (first sketches) 2021-03-19 11:45:22 +01:00
CHANGELOG.md Update changelog for version 0.16.0 2021-03-30 13:05:45 +02:00
config.template.js Increase file size limit for tracks, configurable 2021-03-26 08:41:37 +01:00
CONTRIBUTING.md Add warning regarding yarn build i18next / gulp i18next 2020-06-19 18:00:00 +00:00
docker-compose.yml add docker-compose tasks for development 2020-06-08 15:11:56 +02:00
Dockerfile Update node base image (#363) 2021-01-25 10:37:01 +01:00
gulpfile.js Fix bump:html for release task (#366) 2021-03-31 12:24:27 +02:00
index.html Fix broken Return key in export route dialog 2021-03-27 18:00:00 +00:00
INSTALL.md Add rd5 grid map link to install instructions 2021-02-05 16:55:36 +01:00
keys.template.js Update prettier version 2020-12-05 11:51:16 +01:00
LICENSE Update copyright date 2018-09-08 19:59:50 +02:00
package.json release: 0.16.0 2021-03-30 20:47:32 +02:00
README.md Add overpass-layer (first sketches) 2021-03-19 11:45:22 +01:00
yarn.lock Update leaflet-control-geocoder (#296) 2021-03-26 21:13:38 +01:00

brouter-web

Web client (by @nrenner and contributors) for the BRouter routing engine (by @abrensch).

demo

Instances:

This repository is only about the frontend.

For the server/backend, BRouter routing engine, Android app, profiles, brouter.de site, see:
https://github.com/abrensch/brouter

More information:
https://brouter.de

Contact

General BRouter discussions/questions, support:

Translating

Translations are managed using the Transifex platform. After signing up, you can go to BRouter's project page, select a language and click Translate to start translating.

Installation

See INSTALL.md for guidance on installation.

Build

See CONTRIBUTING.md for development documentation.

License

Copyright (c) 2018 Norbert Renner and contributors, licensed under the MIT License (MIT)

Credits and Licenses