diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2014-01-19 08:57:47 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2014-01-19 08:57:47 +0000 |
commit | bacc2508161ac0f47f153766627472b639c7484c (patch) | |
tree | 11c53d7b6f8d598c026320b73be419efc9112718 /app/views/search | |
parent | 6f1cda4852fdf04be23e77825ffcdb1a22b913a7 (diff) | |
download | redmine-bacc2508161ac0f47f153766627472b639c7484c.tar.gz redmine-bacc2508161ac0f47f153766627472b639c7484c.zip |
Focus first text field automatically (#13134).
git-svn-id: http://svn.redmine.org/redmine/trunk@12670 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/search')
-rw-r--r-- | app/views/search/index.html.erb | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/app/views/search/index.html.erb b/app/views/search/index.html.erb index 32e067e6f..ffa0b483f 100644 --- a/app/views/search/index.html.erb +++ b/app/views/search/index.html.erb @@ -4,7 +4,6 @@ <%= form_tag({}, :method => :get, :id => 'search-form') do %> <%= label_tag "search-input", l(:description_search), :class => "hidden-for-sighted" %> <p><%= text_field_tag 'q', @question, :size => 60, :id => 'search-input' %> -<%= javascript_tag "$('#search-input').focus()" %> <%= project_select_tag %> <%= hidden_field_tag 'all_words', '', :id => nil %> <label><%= check_box_tag 'all_words', 1, @all_words %> <%= l(:label_all_words) %></label> |