From f0c9c0ef23efb40291d7819343f3ad12b74c2e4f 2017-01-08 22:47:32 From: Jean-Philippe Lang Date: 2017-01-08 22:47:32 Subject: [PATCH] Issue destroy : Reassign time issue autocomplete (#24692). Patch by David Côté-Tremblay and Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@16165 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/app/views/issues/destroy.html.erb b/app/views/issues/destroy.html.erb index 83da014..9b08c36 100644 --- a/app/views/issues/destroy.html.erb +++ b/app/views/issues/destroy.html.erb @@ -10,6 +10,7 @@ <% if @project %> <%= 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 %>