summaryrefslogtreecommitdiffstats
path: root/app/views/issues
diff options
context:
space:
mode:
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)) %>