summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2012-08-09 16:46:13 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2012-08-09 16:46:13 +0000
commitf82a7a35b0e1bebdc190e70e79be3e7f39d24896 (patch)
tree37de520e9e97b3c34dfffd339fb2fb9c88be2a50
parent908b960e7181680cc180ab3d07921fc9977a39db (diff)
downloadredmine-f82a7a35b0e1bebdc190e70e79be3e7f39d24896.tar.gz
redmine-f82a7a35b0e1bebdc190e70e79be3e7f39d24896.zip
Adds autocomplete to "Related issue" field on revision (#11102).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10181 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r--app/views/repositories/_related_issues.html.erb2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/views/repositories/_related_issues.html.erb b/app/views/repositories/_related_issues.html.erb
index bc843b3ec..9d3074112 100644
--- a/app/views/repositories/_related_issues.html.erb
+++ b/app/views/repositories/_related_issues.html.erb
@@ -36,3 +36,5 @@
<% end %>
<% end %>
</div>
+
+<%= javascript_tag "observeAutocompleteField('issue_id', '#{escape_javascript auto_complete_issues_path(:project_id => @project, :scope => 'all')}')" %>