summaryrefslogtreecommitdiffstats
path: root/app/views
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2017-01-08 22:47:32 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2017-01-08 22:47:32 +0000
commitf0c9c0ef23efb40291d7819343f3ad12b74c2e4f (patch)
treec39b535dced17b12bea7a5b78ecf3056a3d523db /app/views
parente5d15c031bd781895364741aa5834d3f91a0d497 (diff)
downloadredmine-f0c9c0ef23efb40291d7819343f3ad12b74c2e4f.tar.gz
redmine-f0c9c0ef23efb40291d7819343f3ad12b74c2e4f.zip
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
Diffstat (limited to 'app/views')
-rw-r--r--app/views/issues/destroy.html.erb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/views/issues/destroy.html.erb b/app/views/issues/destroy.html.erb
index 83da014cd..9b08c3698 100644
--- a/app/views/issues/destroy.html.erb
+++ b/app/views/issues/destroy.html.erb
@@ -10,6 +10,7 @@
<% 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>