|
Lines 512-517
jQuery.fn.dataTable.ext.errMode = function(settings, note, message) {
Link Here
|
| 512 |
if(options) { |
512 |
if(options) { |
| 513 |
if(!options.criteria || ['contains', 'starts_with', 'ends_with', 'exact'].indexOf(options.criteria.toLowerCase()) === -1) options.criteria = 'contains'; |
513 |
if(!options.criteria || ['contains', 'starts_with', 'ends_with', 'exact'].indexOf(options.criteria.toLowerCase()) === -1) options.criteria = 'contains'; |
| 514 |
options.criteria = options.criteria.toLowerCase(); |
514 |
options.criteria = options.criteria.toLowerCase(); |
|
|
515 |
|
| 516 |
// Don't redefine the default initComplete |
| 517 |
if ( options.initComplete ) { |
| 518 |
let our_initComplete = options.initComplete; |
| 519 |
options.initComplete = function(settings, json){ |
| 520 |
our_initComplete(settings, json); |
| 521 |
dataTablesDefaults.initComplete(settings, json) |
| 522 |
}; |
| 523 |
} |
| 524 |
|
| 515 |
settings = $.extend(true, {}, dataTablesDefaults, { |
525 |
settings = $.extend(true, {}, dataTablesDefaults, { |
| 516 |
'deferRender': true, |
526 |
'deferRender': true, |
| 517 |
"paging": true, |
527 |
"paging": true, |
| 518 |
- |
|
|