mirror of
https://github.com/DataTables/DataTables.git
synced 2025-02-19 17:54:14 +01:00
API - invalidate() methods - add an "auto" option that can be passed
rather than jsut an empty string as auto
This commit is contained in:
parent
48fd750bd8
commit
8dcdb94b15
@ -1 +1 @@
|
||||
8935b8ac6cdb989235a0ea51655bc1e21673d7d8
|
||||
a050abb843458cc9cf7725d4ccce7bb367e82c3e
|
||||
|
2
media/js/jquery.dataTables.js
vendored
2
media/js/jquery.dataTables.js
vendored
@ -1381,7 +1381,7 @@
|
||||
var i, ien;
|
||||
|
||||
// Are we reading last data from DOM or the data object?
|
||||
if ( src === 'dom' || (! src && row.src === 'dom') ) {
|
||||
if ( src === 'dom' || ((! src || src === 'auto') && row.src === 'dom') ) {
|
||||
// Read the data from the DOM
|
||||
row._aData = _fnGetRowElements( settings, row.nTr ).data;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user