1
0
mirror of https://github.com/DataTables/DataTables.git synced 2024-11-29 11:24:10 +01:00

Fix: Nested tables in the the main table's header wold cause an error due to too many TR elements being selected by the header detection method. We want to pick up only the child elements of the header - 6485

This commit is contained in:
Allan Jardine 2011-09-08 17:12:23 +01:00
parent a444026985
commit ad104832d8

View File

@ -6437,7 +6437,7 @@
*/
function _fnDetectHeader ( aLayout, nThead )
{
var nTrs = nThead.getElementsByTagName('tr');
var nTrs = $('>tr', nThead);
var nCell;
var i, j, k, l, iLen, jLen, iColShifted;
var fnShiftCol = function ( a, i, j ) {