summaryrefslogtreecommitdiffstats
path: root/app/views/issues
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2018-01-07 22:18:17 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2018-01-07 22:18:17 +0000
commit27cd7f478b64d72e14c7ab07e05f7fde5b828d06 (patch)
tree43680805a55b58505edf6883bda45d46b1bdc2a7 /app/views/issues
parentc7948ed40d9e74b3ee1d9f674913aaad04ab5f85 (diff)
downloadredmine-27cd7f478b64d72e14c7ab07e05f7fde5b828d06.tar.gz
redmine-27cd7f478b64d72e14c7ab07e05f7fde5b828d06.zip
Cannot clear all watchers when copying an issue (#26880).
git-svn-id: http://svn.redmine.org/redmine/trunk@17153 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/issues')
-rw-r--r--app/views/issues/_watchers_form.html.erb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/views/issues/_watchers_form.html.erb b/app/views/issues/_watchers_form.html.erb
index 6d349f4a3..b55e60284 100644
--- a/app/views/issues/_watchers_form.html.erb
+++ b/app/views/issues/_watchers_form.html.erb
@@ -1,4 +1,5 @@
<% if @issue.safe_attribute? 'watcher_user_ids' -%>
+ <%= hidden_field_tag 'issue[watcher_user_ids][]', '' %>
<p id="watchers_form"><label><%= l(:label_issue_watchers) %></label>
<span id="watchers_inputs">
<%= watchers_checkboxes(@issue, users_for_new_issue_watchers(@issue)) %>