summaryrefslogtreecommitdiffstats
path: root/app/views/watchers
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2013-02-07 20:13:15 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2013-02-07 20:13:15 +0000
commit8b205052a96416dd3313559343547fd850905921 (patch)
tree973f0b695a5ba1b642e034b6b570368632e4bd4f /app/views/watchers
parent1d71bd598f92b88941a2233a0e506ef322d8abde (diff)
downloadredmine-8b205052a96416dd3313559343547fd850905921.tar.gz
redmine-8b205052a96416dd3313559343547fd850905921.zip
Don't wrap watcher link with span.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11334 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/watchers')
-rw-r--r--app/views/watchers/_set_watcher.js.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/watchers/_set_watcher.js.erb b/app/views/watchers/_set_watcher.js.erb
index 6283a3805..e5cdc4f3e 100644
--- a/app/views/watchers/_set_watcher.js.erb
+++ b/app/views/watchers/_set_watcher.js.erb
@@ -1,2 +1,2 @@
<% selector = ".#{watcher_css(watched)}" %>
-$("<%= selector %>").each(function(){$(this).html("<%= escape_javascript watcher_link(watched, user) %>")});
+$("<%= selector %>").each(function(){$(this).replaceWith("<%= escape_javascript watcher_link(watched, user) %>")});