app/views/speedup_rails/collectors/_queries.html.erb in speedup-rails-0.0.9 vs app/views/speedup_rails/collectors/_queries.html.erb in speedup-rails-0.0.10
- old
+ new
@@ -19,10 +19,10 @@
<% end %>
</div>
</div>
<script type="text/javascript">
- var traces = document.getElementById("speedup_collectorinfo_<%= key %>").getElementsByClassName('backtrace')
+ var traces = document.getElementById("speedup_<%= request_id %>_collectorinfo_<%= key %>").getElementsByClassName('backtrace')
for (var j = traces.length - 1; j >= 0; j--) {
traces[j].onclick = function() {
var i;
var x = this.getElementsByClassName("backtrace_line");
for (i = 0; i < x.length; i++) {