Commit graph

23 commits

Author SHA1 Message Date
Tom Hughes
9cc9a00988 Restore autofocusing of the search field
Use the HTML5 autofocus attribute, and focus on load for browsers
which don't support it.

Also change the removal of the "Where am I?" prompt to happen on
input rather than when the field is focused, so that it is properly
removed and restored when the field has been autofocused.

Fixes https://trac.openstreetmap.org/ticket/5065
2013-12-10 19:45:28 +00:00
John Firebaugh
a47d6c212d Restore marker for non-browse search results
Fixes #615
2013-12-05 19:10:48 +00:00
John Firebaugh
95f1069552 Fix application error on non-feature search results
Fixes #560
2013-12-02 14:08:56 -08:00
Aaron Lidman
86ae401aac Nominatim results zoom to the result location 2013-11-20 12:37:57 -08:00
Aaron Lidman
fec9dc84c0 No hash on browse pages, closes #35 2013-11-14 17:41:20 -08:00
John Firebaugh
853dc286b9 Add sidebar loading indicator 2013-11-12 17:01:47 -08:00
John Firebaugh
59f1a6d496 Fix search 2013-11-11 13:39:20 -08:00
John Firebaugh
0d52b82d4e Move search form to header on small screens 2013-11-11 13:38:46 -08:00
Aaron Lidman
1ae7872ed8 Update title on pushState, closes #33 2013-11-08 16:10:08 -08:00
John Firebaugh
cdfe2ac21e Redo mobile styles 2013-11-07 17:25:03 -08:00
Aaron Lidman
e7d200c4a6 Sidebar close reverts to 'view' state 2013-11-06 16:59:14 -08:00
John Firebaugh
ee9642a28b Link search results directly to browse pages 2013-11-05 12:26:59 -08:00
John Firebaugh
8530e3eedb AJAXy changeset history 2013-10-13 14:46:09 -07:00
John Firebaugh
db675e706a Fix click on search result 2013-10-13 14:46:09 -07:00
John Firebaugh
aa20398cea Consolidate search-related JavaScript 2013-10-13 14:46:09 -07:00
John Firebaugh
32645dd856 Implement closing sidebar 2013-10-13 14:46:09 -07:00
John Firebaugh
35458c0096 Convert search to pushState 2013-10-13 14:46:08 -07:00
John Firebaugh
d3bf4149e0 Don't autofocus search, fade out "Where am I?" on focus 2013-10-13 14:46:06 -07:00
John Firebaugh
a01195f149 Sidebar work 2013-10-13 14:45:58 -07:00
John Firebaugh
aaeca5b534 Use reverse geocoders for any lat/lon queries
This simplifies the implementation, allows code sharing with
"Where am I?", and produces friendlier results for lat/lon
searches (actual reverse geocode results rather than a raw
lat/lon display).
2013-10-13 19:30:38 +01:00
Tom Hughes
258e66299a Fix the "Where am I?" link 2013-08-07 08:42:57 +01:00
John Firebaugh
a1af4d5de1 Hide search marker/object when closing sidebar
Fixes #417
2013-08-06 20:23:13 +01:00
John Firebaugh
c6cde2653b Refactor search JS 2013-08-06 20:23:06 +01:00