Commit 7b8864da authored by Nicolas Widart's avatar Nicolas Widart

Using the new datatables syntax

parent af2f4aea
......@@ -102,19 +102,20 @@
<script type="text/javascript">
$(function () {
$('.data-table').dataTable({
"bPaginate": true,
"bLengthChange": true,
"bFilter": true,
"bSort": true,
"bInfo": true,
"bAutoWidth": true,
"oLanguage": {
"sUrl": '<?php echo Module::asset('core', "js/vendor/datatables/{$locale}.json") ?>'
"paginate": true,
"lengthChange": true,
"filter": true,
"sort": true,
"info": true,
"autoWidth": true,
"order": [[ 0, "asc" ]],
"language": {
"url": '<?php echo Module::asset('core', "js/vendor/datatables/{$locale}.json") ?>'
},
"aoColumns": [
"columns": [
null,
null,
{ "bSortable": false }
{ "sortable": false }
]
});
});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment