Failing test with 1.8.7 and jruby (#10538).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9270 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2012-03-25 20:21:04 +00:00
parent 706f8b1691
commit 274566f13b
1 changed files with 3 additions and 1 deletions

View File

@ -72,7 +72,9 @@ class WatchersController < ApplicationController
format.js do
render :update do |page|
users.each do |user|
page.select("#issue_watcher_user_ids_#{user.id}").each(&:remove)
page.select("#issue_watcher_user_ids_#{user.id}").each do |item|
page.remove item
end
end
page.insert_html :bottom, 'watchers_inputs', :text => watchers_checkboxes(nil, users, true)
end