Commit ff0453b9 authored by jplang's avatar jplang

Remove duplicate watchers (#10538).

git-svn-id: https://svn.redmine.org/redmine/trunk@9268 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent 348b9aaa
......@@ -72,7 +72,7 @@ class WatchersController < ApplicationController
format.js do
render :update do |page|
users.each do |user|
page.select("#issue_watcher_user_ids_#{user.id}").each(&:hide)
page.select("#issue_watcher_user_ids_#{user.id}").each(&:remove)
end
page.insert_html :bottom, 'watchers_inputs', :text => watchers_checkboxes(nil, users, true)
end
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment