Sha256: 45ef1674190e23de5abb6ac43b3e27850e113deaa9d438d1e101d77d954c280e
Contents?: true
Size: 1.09 KB
Versions: 41
Compression:
Stored size: 1.09 KB
Contents
<% trace = segment[:backtrace] unique_id = "_#{trace.object_id}_#{(rand * 100000).to_i}" show_link_id = "show_rails_link#{unique_id}" hide_link_id = "hide_rails_link#{unique_id}" app_stack_trace_id = "application_stack_trace#{unique_id}" full_stack_trace_id = "full_stack_trace#{unique_id}" %> <%= link_to_function('Show Rails', :id => show_link_id) do |page| page[full_stack_trace_id].show page[app_stack_trace_id].hide page[show_link_id].hide page[hide_link_id].show end %> <%= link_to_function('Hide Rails', :id => hide_link_id, :style => "display: none;") do |page| page[full_stack_trace_id].hide page[app_stack_trace_id].show page[hide_link_id].hide page[show_link_id].show end %> <div id='<%=app_stack_trace_id%>' class="application_stack_trace"> <%= application_stack_trace(trace, false).collect { |trace_line| write_stack_trace_line(trace_line)}.join("<br/>") %> </div> <div id='<%=full_stack_trace_id%>' style="display: none;" class="full_stack_trace"> <%= application_stack_trace(trace, true).collect { |trace_line| write_stack_trace_line(trace_line)}.join("<br/>") %> </div>
Version data entries
41 entries across 41 versions & 4 rubygems
Version | Path |
---|---|
newrelic_rpm-2.8.8 | ui/views/newrelic/_stack_trace.rhtml |