From 264b0b7abc8612b794eb22739042fa48e47b817b Mon Sep 17 00:00:00 2001 From: "marius.balteanu" Date: Wed, 14 Sep 2022 00:40:06 +0300 Subject: [PATCH] Fix ention auto-complete not working in bulk-edit comments (#37369). --- app/views/issues/bulk_edit.html.erb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/views/issues/bulk_edit.html.erb b/app/views/issues/bulk_edit.html.erb index a49617aab..4fe457b32 100644 --- a/app/views/issues/bulk_edit.html.erb +++ b/app/views/issues/bulk_edit.html.erb @@ -226,6 +226,10 @@ %> <%= wikitoolbar_for 'notes' %> +<% if User.current.allowed_to?(:add_issue_watchers, nil, global: true)%> + <%= update_data_sources_for_auto_complete({users: watchers_autocomplete_for_mention_path(q: '', object_type: 'issue', object_id: @issues.map(&:id) )}) %> +<% end %> + <% if @safe_attributes.include?('private_notes') %>