aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-server/src/main/webapp/javascripts/resource.js
diff options
context:
space:
mode:
authorJean-Baptiste Vilain <jean-baptiste.vilain@sonarsource.com>2013-04-23 16:37:23 +0200
committerJean-Baptiste Vilain <jean-baptiste.vilain@sonarsource.com>2013-04-23 16:37:23 +0200
commit3fadbde9fc4c1b6000f8e592b07cc3bbc3d8319e (patch)
treeb494c682f1001c7c87c9bf875f487fa9f3083438 /sonar-server/src/main/webapp/javascripts/resource.js
parentcad8a44428531aa4a8bf7962381e1a6c9464c06d (diff)
downloadsonarqube-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.js2
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