Lines 53-59
var dataTablesDefaults = {
Link Here
|
53 |
"fixedHeader": true, |
53 |
"fixedHeader": true, |
54 |
initComplete: function( settings) { |
54 |
initComplete: function( settings) { |
55 |
var tableId = settings.nTable.id |
55 |
var tableId = settings.nTable.id |
56 |
var state = $("#" + tableId ).DataTable().state(); |
56 |
var state = settings.oLoadedState; |
57 |
state && toggledClearFilter(state.search.search, tableId); |
57 |
state && toggledClearFilter(state.search.search, tableId); |
58 |
// When the DataTables search function is triggered, |
58 |
// When the DataTables search function is triggered, |
59 |
// enable or disable the "Clear filter" button based on |
59 |
// enable or disable the "Clear filter" button based on |
60 |
- |
|
|