Changed dataTable to reportTable
I think giving it a name too similar to the plugin was causing issues.reminder
parent
7a5e0ab170
commit
256cfe8b0d
|
@ -37,7 +37,7 @@
|
|||
{% elif results == 'EMPTY' %}
|
||||
<h2>No Data</h2>
|
||||
{% else %}
|
||||
<table id="dataTable" class="table table-hover link-table">
|
||||
<table id="reportTable" class="table table-hover link-table">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>{% if report == 'players' %}Name{% else %}Entity{% endif %}</th>
|
||||
|
@ -61,7 +61,7 @@
|
|||
{% endif %}
|
||||
<script>
|
||||
$(document).ready(function() {
|
||||
$("#dataTable").DataTable({
|
||||
$("#reportTable").DataTable({
|
||||
'lengthMenu': [ [ 10, 25, 50, 100, -1 ], [ 10, 25, 50, 100, "All" ] ],
|
||||
'initComplete': function(settings, json) {
|
||||
$("#content").show();
|
||||
|
|
Loading…
Reference in New Issue