forked from Minecraft/minecraft_manager
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' %}
|
{% elif results == 'EMPTY' %}
|
||||||
<h2>No Data</h2>
|
<h2>No Data</h2>
|
||||||
{% else %}
|
{% else %}
|
||||||
<table id="dataTable" class="table table-hover link-table">
|
<table id="reportTable" class="table table-hover link-table">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th>{% if report == 'players' %}Name{% else %}Entity{% endif %}</th>
|
<th>{% if report == 'players' %}Name{% else %}Entity{% endif %}</th>
|
||||||
|
@ -61,7 +61,7 @@
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<script>
|
<script>
|
||||||
$(document).ready(function() {
|
$(document).ready(function() {
|
||||||
$("#dataTable").DataTable({
|
$("#reportTable").DataTable({
|
||||||
'lengthMenu': [ [ 10, 25, 50, 100, -1 ], [ 10, 25, 50, 100, "All" ] ],
|
'lengthMenu': [ [ 10, 25, 50, 100, -1 ], [ 10, 25, 50, 100, "All" ] ],
|
||||||
'initComplete': function(settings, json) {
|
'initComplete': function(settings, json) {
|
||||||
$("#content").show();
|
$("#content").show();
|
||||||
|
|
Loading…
Reference in New Issue