auto focus user select field when adding members

pull/3480/head
Markus Kahl 9 years ago
parent 0f3a34f703
commit 426dd34311
  1. 1
      app/views/members/_member_form_non_impaired.html.erb

@ -44,6 +44,7 @@ See doc/COPYRIGHT.rdoc for more details.
<%= select_tag "member[user_ids]", options_for_select([]), <%= select_tag "member[user_ids]", options_for_select([]),
:title => l(:label_principal_search), :title => l(:label_principal_search),
:multiple => true, :multiple => true,
:autofocus => true,
:'data-ajaxURL' => url_for(:controller => "/members", :action => "autocomplete_for_member"), :'data-ajaxURL' => url_for(:controller => "/members", :action => "autocomplete_for_member"),
:'data-projectId' => project.id, :'data-projectId' => project.id,
no_label: true, no_label: true,

Loading…
Cancel
Save