Project

General

Profile

Defect #39521 ยป fix-mention-autocomplate.patch

Mizuki ISHIKAWA, 2023-11-07 09:09

View differences:

app/views/issues/_edit.html.erb
<%= call_hook(:view_issues_edit_notes_bottom, { :issue => @issue, :notes => @notes, :form => f }) %>
</fieldset>
<% if !@issue.attributes_editable? && User.current.allowed_to?(:add_issue_watchers, @issue.project) %>
<%= update_data_sources_for_auto_complete({users: watchers_autocomplete_for_mention_path(project_id: @issue.project, q: '', object_type: 'issue',
object_id: @issue.id)}) %>
<% end %>
<% end %>
<% if @issue.attachments_addable? %>
<fieldset id="add_attachments"><legend><%= l(:label_attachment_plural) %></legend>
    (1-1/1)