From 6115a079ec0085bd84aefa8dc48e38ed3a7d23c0 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Sun, 25 Mar 2012 19:35:32 +0000 Subject: [PATCH] Remove duplicate watchers (#10538). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9268 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/controllers/watchers_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/watchers_controller.rb b/app/controllers/watchers_controller.rb index 4c45ff7b2..44bb27443 100644 --- a/app/controllers/watchers_controller.rb +++ b/app/controllers/watchers_controller.rb @@ -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 -- 2.39.5