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

3 lines
153 B
Plaintext

<% selector = ".#{watcher_css(watched)}" %>
$("<%= selector %>").each(function(){$(this).html("<%= escape_javascript watcher_link(watched, user) %>")});