Project

General

Profile

Patch #25055 » filter_out_current_issue.patch

Marius BĂLTEANU, 2017-02-12 16:15

View differences:

app/views/issue_relations/_form.html.erb
9 9
<%= link_to_function l(:button_cancel), '$("#new-relation-form").hide();'%>
10 10
</p>
11 11

  
12
<%= javascript_tag "observeAutocompleteField('relation_issue_to_id', '#{escape_javascript auto_complete_issues_path(:project_id => @project, :scope => (Setting.cross_project_issue_relations? ? 'all' : nil))}')" %>
12
<%= 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)}')" %>
13 13

  
14 14
<%= javascript_tag "setPredecessorFieldsVisibility();" %>
    (1-1/1)