From 7014cdb32cf0024e169204da49486048f08b1ca2 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Sun, 22 May 2011 11:08:17 +0100 Subject: [PATCH] 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. --- app/views/site/_search.html.erb | 58 ++++++++++++++++++++++++--------- public/stylesheets/common.css | 2 +- 2 files changed, 43 insertions(+), 17 deletions(-) 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 @@