Project

General

Profile

Feature #43837 » 0001-Show-a-hint-in-the-issue-relation-add-form-to-clarif.patch

Go MAEDA, 2026-02-25 03:23

View differences:

app/views/issue_relations/_form.html.erb
17 17
</span>
18 18
<%= submit_tag l(:button_add) %>
19 19
<%= link_to_function l(:button_cancel), '$("#new-relation-form").hide();'%>
20
<em class="info"><%= l(:text_comma_separated) %></em>
20 21
</p>
21 22

  
22 23
<%= javascript_tag "multipleAutocompleteField('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)}')" %>
test/functional/issues_controller_test.rb
2512 2512
      assert_select 'div#relations' do
2513 2513
        assert_select 'a', :text => /#2$/
2514 2514
        assert_select 'a', :text => /#4$/, :count => 0
2515
        assert_select 'form#new-relation-form input#relation_issue_to_id'
2516
        assert_select 'form#new-relation-form em.info', :text => l(:text_comma_separated)
2515 2517
      end
2516 2518
    end
2517 2519
  end
(2-2/2)