Sha256: 2138fb7c7f1048e5a3ca78e1af2fa9d29a9906b1d9f39505cf195ed7e12f6c46

Contents?: true

Size: 496 Bytes

Versions: 25

Compression:

Stored size: 496 Bytes

Contents

<%if params['target_dom_id'].present?%>
if ($('#<%=params['target_dom_id']%> .query_report_content').length == 0) {
    $('#<%=params['target_dom_id']%>').html('<%= escape_javascript(render :partial => 'query_report/list', locals: {report: @report})%>');
} else {
    $('#<%=params['target_dom_id']%> .query_report_content').html('<%= escape_javascript(render :partial => 'query_report/content', locals: {report: @report})%>');
}
<% else %>
console.log("target_dom_id was not defined");
<% end %>

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
query_report-1.1.2 app/views/query_report/list.js.erb
query_report-1.1.1 app/views/query_report/list.js.erb
query_report-1.1.0 app/views/query_report/list.js.erb
query_report-1.0.26 app/views/query_report/list.js.erb
query_report-1.0.25 app/views/query_report/list.js.erb
query_report-1.0.24 app/views/query_report/list.js.erb
query_report-1.0.23 app/views/query_report/list.js.erb
query_report-1.0.22 app/views/query_report/list.js.erb
query_report-1.0.21 app/views/query_report/list.js.erb
query_report-1.0.20 app/views/query_report/list.js.erb
query_report-1.0.19 app/views/query_report/list.js.erb
query_report-1.0.18 app/views/query_report/list.js.erb
query_report-1.0.17 app/views/query_report/list.js.erb
query_report-1.0.16 app/views/query_report/list.js.erb
query_report-1.0.15 app/views/query_report/list.js.erb
query_report-1.0.14 app/views/query_report/list.js.erb
query_report-1.0.13 app/views/query_report/list.js.erb
query_report-1.0.12 app/views/query_report/list.js.erb
query_report-1.0.11 app/views/query_report/list.js.erb
query_report-1.0.10 app/views/query_report/list.js.erb