Files
Redmine/app/views/watchers/destroy.js.erb
Jean-Philippe Lang 5adc1ddde9 Allow addition of watchers via bulk edit context menu (#5754).
git-svn-id: http://svn.redmine.org/redmine/trunk@15311 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-04-09 07:37:49 +00:00

4 lines
175 B
Plaintext

<% if @watchables.size == 1 %>
$('#watchers').html('<%= escape_javascript(render(:partial => 'watchers/watchers', :locals => {:watched => @watchables.first})) %>');
<% end %>