Fix resize tabella serials

This commit is contained in:
loviuz 2020-04-15 16:43:23 +02:00
parent 70322be957
commit 22e731c280
1 changed files with 2 additions and 1 deletions

View File

@ -94,7 +94,7 @@ $query = 'SELECT id, serial, created_at FROM mg_prodotti WHERE serial IS NOT NUL
$rs2 = $dbo->fetchArray($query);
echo '
<table class="table table-striped table-hover table-condensed table-bordered text-center datatables">
<table id="table-serials" class="table table-striped table-hover table-condensed table-bordered text-center datatables">
<thead>
<tr>
<th id="th_Serial">'.tr('Serial').'</th>
@ -244,6 +244,7 @@ echo '
echo '
<script type="text/javascript">
$(document).ready(function() {
$("#table-serials").DataTable().draw();
$("#serials").removeClass("superselect");
$("#serials").select2().select2("destroy");