mirror of
https://github.com/DataTables/DataTables.git
synced 2025-02-19 17:54:14 +01:00
Fix: Commit c01dda2a600571f7c98c introduced a global variable to DataTables in fnGetData and fnGetNodes. This commit fixes that while keeping the introduced feature.
This commit is contained in:
parent
789a6876f0
commit
501324a590
5
media/js/jquery.dataTables.js
vendored
5
media/js/jquery.dataTables.js
vendored
@ -1770,7 +1770,8 @@
|
||||
{
|
||||
var iRow = (typeof mRow == 'object') ?
|
||||
_fnNodeToDataIndex(oSettings, mRow) : mRow;
|
||||
return ( (aRowData = oSettings.aoData[iRow]) ? aRowData._aData : null);
|
||||
return (typeof oSettings.aoData[iRow] != 'undefined') ?
|
||||
oSettings.aoData[iRow]._aData : null;
|
||||
}
|
||||
return _fnGetDataMaster( oSettings );
|
||||
};
|
||||
@ -1790,7 +1791,7 @@
|
||||
|
||||
if ( typeof iRow != 'undefined' )
|
||||
{
|
||||
return ( (aRowData = oSettings.aoData[iRow]) ? aRowData.nTr : null );
|
||||
return (typeof oSettings.aoData[iRow] != 'undefined') ? oSettings.aoData[iRow].nTr : null;
|
||||
}
|
||||
return _fnGetTrNodes( oSettings );
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user