mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-23 20:00:33 -04:00
Working on datatables on client page
This commit is contained in:
parent
b83647facc
commit
a518e9fba4
@ -79,11 +79,17 @@
|
|||||||
{!! json_encode($k) !!}: {!! $o !!},
|
{!! json_encode($k) !!}: {!! $o !!},
|
||||||
@endforeach
|
@endforeach
|
||||||
"fnDrawCallback": function(oSettings) {
|
"fnDrawCallback": function(oSettings) {
|
||||||
|
@if (isset($values['entityType']))
|
||||||
if (window.onDatatableReady_{{ $values['entityType'] }}) {
|
if (window.onDatatableReady_{{ $values['entityType'] }}) {
|
||||||
window.onDatatableReady_{{ $values['entityType'] }}();
|
window.onDatatableReady_{{ $values['entityType'] }}();
|
||||||
} else if (window.onDatatableReady) {
|
} else {
|
||||||
window.onDatatableReady();
|
window.onDatatableReady();
|
||||||
}
|
}
|
||||||
|
@else
|
||||||
|
if (window.onDatatableReady) {
|
||||||
|
window.onDatatableReady();
|
||||||
|
}
|
||||||
|
@endif
|
||||||
},
|
},
|
||||||
"stateLoadParams": function (settings, data) {
|
"stateLoadParams": function (settings, data) {
|
||||||
// don't save filter to local storage
|
// don't save filter to local storage
|
||||||
|
Loading…
x
Reference in New Issue
Block a user