From 337c5f93ba6f2a1d0fcac5e30c8e57128c0e1bb9 Mon Sep 17 00:00:00 2001 From: Marius Balteanu Date: Mon, 26 Sep 2022 22:41:49 +0000 Subject: [PATCH] Merged r21834 and r21852 to 5.0-stable (#37369). git-svn-id: https://svn.redmine.org/redmine/branches/5.0-stable@21853 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/views/issues/bulk_edit.html.erb | 4 ++++ test/system/inline_autocomplete_test.rb | 15 +++++++++++++++ 2 files changed, 19 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') %>