##// END OF EJS Templates
Render custom values of enumeration objects in API requests (#22795)....
Render custom values of enumeration objects in API requests (#22795). Patch by Jens Kraemer. git-svn-id: http://svn.redmine.org/redmine/trunk@15812 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r13856:5c18e6d0459b
r15430:fa2f59815091
Show More
_set_watcher.js.erb
3 lines | 290 B | text/plain | TextLexer
<% selector = ".#{watcher_css(watched)}" %>
$("<%= selector %>").each(function(){$(this).replaceWith("<%= escape_javascript watcher_link(watched, user) %>")});
$('#watchers').html('<%= escape_javascript(render(:partial => 'watchers/watchers', :locals => {:watched => watched.first})) %>');