From a998a0bb2012a6e983eae3da9377b3669e9f24b2 Mon Sep 17 00:00:00 2001 From: Philipp Borgers Date: Sat, 18 Dec 2010 18:08:33 +0100 Subject: [PATCH] Added tabindex="1" for search input on the main side --- app/views/site/_search.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/site/_search.html.erb b/app/views/site/_search.html.erb index 31b5af16f..f487e8f4a 100644 --- a/app/views/site/_search.html.erb +++ b/app/views/site/_search.html.erb @@ -41,7 +41,7 @@ :complete => "endSearch()", :url => { :controller => :geocoder, :action => :search }, :html => { :method => "get", :action => url_for(:action => "index") }) do %> - <%= text_field_tag :query, h(params[:query]) %> + <%= text_field_tag :query, h(params[:query]), :tabindex => "1" %> <% if params[:action] == 'index' %> <%= hidden_field_tag :minlon %> <%= hidden_field_tag :minlat %> -- 2.43.2