1
0
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:
Allan Jardine 2013-11-19 13:53:48 +00:00
parent 48fd750bd8
commit 8dcdb94b15
2 changed files with 2 additions and 2 deletions

View File

@ -1 +1 @@
8935b8ac6cdb989235a0ea51655bc1e21673d7d8
a050abb843458cc9cf7725d4ccce7bb367e82c3e

View File

@ -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;
}