Commit 2970d0e4 authored by jplang's avatar jplang

Filter out current issue from the related issues autocomplete (#25055).

Patch by Marius BALTEANU.

git-svn-id: https://svn.redmine.org/redmine/trunk@16350 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent db3e2e4d
......@@ -9,6 +9,6 @@
<%= link_to_function l(:button_cancel), '$("#new-relation-form").hide();'%>
</p>
<%= javascript_tag "observeAutocompleteField('relation_issue_to_id', '#{escape_javascript auto_complete_issues_path(:project_id => @project, :scope => (Setting.cross_project_issue_relations? ? 'all' : nil))}')" %>
<%= javascript_tag "observeAutocompleteField('relation_issue_to_id', '#{escape_javascript auto_complete_issues_path(:project_id => @project, :scope => (Setting.cross_project_issue_relations? ? 'all' : nil), :issue_id => @issue.id)}')" %>
<%= javascript_tag "setPredecessorFieldsVisibility();" %>
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment