From: Tom Hughes Date: Sun, 22 May 2011 10:08:17 +0000 (+0100) Subject: Only add bbox data to the search form while we submit it X-Git-Tag: live~6290^2~5 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/7014cdb32cf0024e169204da49486048f08b1ca2 Only add bbox data to the search form while we submit it Having the bbox attributes on the search form all the time means that Firefox will incude them in the arguments if you bookmark the search using "Add a keyword for this search" on the context menu. --- diff --git a/app/views/site/_search.html.erb b/app/views/site/_search.html.erb index f487e8f4a..8c5bd8b80 100644 --- a/app/views/site/_search.html.erb +++ b/app/views/site/_search.html.erb @@ -1,9 +1,5 @@