1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-08 20:22:42 +01:00

Working on datatables on client page

This commit is contained in:
Hillel Coren 2016-11-25 14:45:37 +02:00
parent b83647facc
commit a518e9fba4

View File

@ -79,11 +79,17 @@
{!! json_encode($k) !!}: {!! $o !!},
@endforeach
"fnDrawCallback": function(oSettings) {
if (window.onDatatableReady_{{ $values['entityType'] }}) {
window.onDatatableReady_{{ $values['entityType'] }}();
} else if (window.onDatatableReady) {
window.onDatatableReady();
}
@if (isset($values['entityType']))
if (window.onDatatableReady_{{ $values['entityType'] }}) {
window.onDatatableReady_{{ $values['entityType'] }}();
} else {
window.onDatatableReady();
}
@else
if (window.onDatatableReady) {
window.onDatatableReady();
}
@endif
},
"stateLoadParams": function (settings, data) {
// don't save filter to local storage