Defect #39521 ยป fix-mention-autocomplate.patch
app/views/issues/_edit.html.erb | ||
---|---|---|
42 | 42 | |
43 | 43 |
<%= call_hook(:view_issues_edit_notes_bottom, { :issue => @issue, :notes => @notes, :form => f }) %> |
44 | 44 |
</fieldset> |
45 |
<% if !@issue.attributes_editable? && User.current.allowed_to?(:add_issue_watchers, @issue.project) %> |
|
46 |
<%= update_data_sources_for_auto_complete({users: watchers_autocomplete_for_mention_path(project_id: @issue.project, q: '', object_type: 'issue', |
|
47 |
object_id: @issue.id)}) %> |
|
48 |
<% end %> |
|
45 | 49 |
<% end %> |
46 | 50 |
<% if @issue.attachments_addable? %> |
47 | 51 |
<fieldset id="add_attachments"><legend><%= l(:label_attachment_plural) %></legend> |