Patch by David Côté-Tremblay and Go MAEDA.
git-svn-id: http://svn.redmine.org/redmine/trunk@16165
e93f8b46-1217-0410-a6f0-
8f06a7374b81
<% if @project %>
<label><%= radio_button_tag 'todo', 'reassign', false, :onchange => 'if (this.checked) { $("#reassign_to_id").focus(); }' %> <%= l(:text_reassign_time_entries) %></label>
<%= text_field_tag 'reassign_to_id', params[:reassign_to_id], :size => 6, :onfocus => '$("#todo_reassign").attr("checked", true);' %>
+<%= javascript_tag "observeAutocompleteField('reassign_to_id', '#{escape_javascript auto_complete_issues_path(:project_id => @project)}')" %>
<% end %>
</p>
</div>