##// END OF EJS Templates
Merged r15490 to r15493, r15496, r15497 (#22951)....
Merged r15490 to r15493, r15496, r15497 (#22951). git-svn-id: http://svn.redmine.org/redmine/branches/3.3-stable@15500 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r14929:5adc1ddde9b4
r15118:8516e1c88dfe
Show More
create.js.erb
5 lines | 322 B | text/plain | TextLexer
Jean-Philippe Lang
Allow addition of watchers via bulk edit context menu (#5754)....
r14929 $('#ajax-modal').html('<%= escape_javascript(render(:partial => 'watchers/new', :locals => {:watchables => @watchables, :users => @users})) %>');
<% if @watchables.size == 1 %>
$('#watchers').html('<%= escape_javascript(render(:partial => 'watchers/watchers', :locals => {:watched => @watchables.first})) %>');
<% end %>