aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-server/src/main/webapp/WEB-INF
diff options
context:
space:
mode:
authorFabrice Bellingard <fabrice.bellingard@sonarsource.com>2012-09-28 13:23:57 +0200
committerFabrice Bellingard <fabrice.bellingard@sonarsource.com>2012-09-28 14:51:40 +0200
commit7f89ea34fb6e7c09f6cfc8e9e1640d0dcc02c0d6 (patch)
treed676828a2b1de1c34899cdca61f3bc77e1af6086 /sonar-server/src/main/webapp/WEB-INF
parent469bda166f41743c80bc3d615b8b83dff9f22ce5 (diff)
downloadsonarqube-7f89ea34fb6e7c09f6cfc8e9e1640d0dcc02c0d6.tar.gz
sonarqube-7f89ea34fb6e7c09f6cfc8e9e1640d0dcc02c0d6.zip
SONAR-968 Remove unused code
Diffstat (limited to 'sonar-server/src/main/webapp/WEB-INF')
-rw-r--r--sonar-server/src/main/webapp/WEB-INF/app/views/drilldown/violations.html.erb6
1 files changed, 1 insertions, 5 deletions
diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/drilldown/violations.html.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/drilldown/violations.html.erb
index 2a44c0e730c..ceaeddf1f2b 100644
--- a/sonar-server/src/main/webapp/WEB-INF/app/views/drilldown/violations.html.erb
+++ b/sonar-server/src/main/webapp/WEB-INF/app/views/drilldown/violations.html.erb
@@ -145,7 +145,7 @@
<% end %>
<%= qualifier_icon(resource) -%>&nbsp;
<% if resource.source_code? %>
- <a href="#" onclick="$$('#col_<%= index -%> tr').invoke('removeClassName', 'selected'); $('row_<%= index -%>_<%= row_index -%>').addClassName('selected'); d(<%= resource.id -%>, '<%= @period_index -%>', '<%= @rule ? @rule.key : @severity -%>');"
+ <a href="#" onclick="$$('#col_<%= index -%> tr').invoke('removeClassName', 'selected'); $('row_<%= index -%>_<%= row_index -%>').addClassName('selected'); d(<%= resource.id -%>);"
alt="<%= resource.name(true) -%>" title="<%= resource.name(true) -%>"><%= resource.name(false) %></a>
<% else %>
<%= link_to(h(resource.name), {:only_path => true, :overwrite_params => {:rids => (selected ? rids-[resource.id] : rids+[resource.id])}}) -%>
@@ -177,9 +177,5 @@
item.scrollIntoView(true);
});
<% end %>
-
- <% if @drilldown.highlighted_resource %>
- d(<%= @drilldown.highlighted_resource.id -%>);
- <% end %>
</script>
<%= render :partial => 'footer' -%> \ No newline at end of file