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:
parent
b83647facc
commit
a518e9fba4
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user