From d9d4bb2cbfdfe0f8113c744593e50617ef9d9c58 Mon Sep 17 00:00:00 2001 From: Marius Balteanu Date: Fri, 23 Sep 2022 05:58:19 +0000 Subject: [PATCH] Enable user auto-complete in issues bulk edit (#37369). git-svn-id: https://svn.redmine.org/redmine/trunk@21834 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- 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') %>