kopia lustrzana https://github.com/magicbug/Cloudlog
[Contesting] Check if QSOTable is initialised
This fixes the javascript error reported in #981 not sure if it solves all the issues thoughpull/982/head
rodzic
2396aec9d6
commit
ae4a7e596b
|
@ -1854,16 +1854,17 @@ function deleteQsl(id) {
|
|||
'<td>'+ receivedexchange + '</td>' +
|
||||
'</tr>');
|
||||
});
|
||||
|
||||
$('.qsotable').DataTable({
|
||||
"pageLength": 25,
|
||||
responsive: false,
|
||||
"scrollY": "400px",
|
||||
"scrollCollapse": true,
|
||||
"paging": false,
|
||||
"scrollX": true,
|
||||
"order": [[ 0, "desc" ]]
|
||||
});
|
||||
if (!$.fn.DataTable.isDataTable('.qsotable')) {
|
||||
$('.qsotable').DataTable({
|
||||
"pageLength": 25,
|
||||
responsive: false,
|
||||
"scrollY": "400px",
|
||||
"scrollCollapse": true,
|
||||
"paging": false,
|
||||
"scrollX": true,
|
||||
"order": [[ 0, "desc" ]]
|
||||
});
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
Ładowanie…
Reference in New Issue