]> git.openstreetmap.org Git - nominatim.git/commit
search UI: hide unused query parameters
authorSarah Hoffmann <lonvia@denofr.de>
Sun, 10 May 2020 22:15:30 +0000 (00:15 +0200)
committerSarah Hoffmann <lonvia@denofr.de>
Sun, 10 May 2020 22:19:33 +0000 (00:19 +0200)
commit9e2841ad446ef333178c6b4f695fc927669ff643
treefd376fd75378eb34836a8bbff50a95acbb47e77f
parent233e5f7c0e32d6445392d6ebf67ba5ffa6981e78
search UI: hide unused query parameters

Only send query parameters relevant for the current query
type (simple/structured), hide the other input fields.

This is quite a bit of CSS state changing, so move the intial
setup of the input field states into Javascript.
lib/template/search-html.php
website/js/nominatim-ui.js