Redmine/app/views/watchers/append.js.erb

5 lines
192 B
Plaintext

<% @users.each do |user| %>
$("#issue_watcher_user_ids_<%= user.id %>").remove();
<% end %>
$('#watchers_inputs').append('<%= escape_javascript(watchers_checkboxes(nil, @users, true)) %>');