aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/sonar-core-plugin
diff options
context:
space:
mode:
authorstephenbroyer <stephen.broyer@sonarsource.com>2013-09-19 18:22:47 +0200
committerstephenbroyer <stephen.broyer@sonarsource.com>2013-09-19 18:22:47 +0200
commit36dc6480a29cb231e1e2a78f5d6da287e39d629f (patch)
treef9ca162a48605448e34627b2d1ebaf8898f47c3e /plugins/sonar-core-plugin
parent242e70cb29ac54d44a661d165cd2956884428e12 (diff)
downloadsonarqube-36dc6480a29cb231e1e2a78f5d6da287e39d629f.tar.gz
sonarqube-36dc6480a29cb231e1e2a78f5d6da287e39d629f.zip
SONAR-4666 Remove prototypejs from widgets (Most Violated Rules)
Diffstat (limited to 'plugins/sonar-core-plugin')
-rw-r--r--plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/hotspots/hotspot_most_violated_rules.html.erb4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/hotspots/hotspot_most_violated_rules.html.erb b/plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/hotspots/hotspot_most_violated_rules.html.erb
index 22272eba53d..5d9e4f46236 100644
--- a/plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/hotspots/hotspot_most_violated_rules.html.erb
+++ b/plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/hotspots/hotspot_most_violated_rules.html.erb
@@ -22,11 +22,11 @@
<script type="text/javascript">
function showMostViolatedRules<%= widget.id -%>(severity) {
- divs = $$('#block_<%= widget.id-%> div.hotspot');
+ divs = $j('#block_<%= widget.id-%> div.hotspot');
for (i = 0; i < divs.size(); i++) {
divs[i].hide();
}
- $('most-violated-rules-<%= widget.id -%>-' + severity).show();
+ $j('#most-violated-rules-<%= widget.id -%>-' + severity).show();
}
</script>