diff options
author | Jean-Baptiste Vilain <jean-baptiste.vilain@sonarsource.com> | 2013-04-23 16:37:23 +0200 |
---|---|---|
committer | Jean-Baptiste Vilain <jean-baptiste.vilain@sonarsource.com> | 2013-04-23 16:37:23 +0200 |
commit | 3fadbde9fc4c1b6000f8e592b07cc3bbc3d8319e (patch) | |
tree | b494c682f1001c7c87c9bf875f487fa9f3083438 /sonar-server/src/main/webapp/javascripts/resource.js | |
parent | cad8a44428531aa4a8bf7962381e1a6c9464c06d (diff) | |
download | sonarqube-3fadbde9fc4c1b6000f8e592b07cc3bbc3d8319e.tar.gz sonarqube-3fadbde9fc4c1b6000f8e592b07cc3bbc3d8319e.zip |
SONAR-4258 Added ampersand escaping in sonar-colorizer
Diffstat (limited to 'sonar-server/src/main/webapp/javascripts/resource.js')
-rw-r--r-- | sonar-server/src/main/webapp/javascripts/resource.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sonar-server/src/main/webapp/javascripts/resource.js b/sonar-server/src/main/webapp/javascripts/resource.js index 8c1dcc8179b..97318979a8d 100644 --- a/sonar-server/src/main/webapp/javascripts/resource.js +++ b/sonar-server/src/main/webapp/javascripts/resource.js @@ -206,5 +206,5 @@ function collapseTests(index, elt){ function highlight_usages(event){ var selectedClass = $j(this).attr("class").split(" ")[0]; $j("#" + event.data.id + " span.highlighted").removeClass("highlighted"); - $j("#" + event.data.id + " span." + selectedClass).toggleClass("highlighted"); + $j("#" + event.data.id + " span." + selectedClass).addClass("highlighted"); }
\ No newline at end of file |