From: Marius Balteanu Date: Fri, 23 Sep 2022 05:58:19 +0000 (+0000) Subject: Enable user auto-complete in issues bulk edit (#37369). X-Git-Tag: 5.1.0~421 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=d9d4bb2cbfdfe0f8113c744593e50617ef9d9c58;p=redmine.git Enable user auto-complete in issues bulk edit (#37369). git-svn-id: https://svn.redmine.org/redmine/trunk@21834 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- 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') %>