mirror of
https://github.com/DataTables/DataTables.git
synced 2025-01-30 23:52:11 +01:00
Fix: Cell selector, when operating as a jQuery selector needs to return
an array, not a jQuery object - otherwise IE8- throws an error - This fixes DataTables/DataTables #262
This commit is contained in:
parent
7c8e10d0dd
commit
a9687655ea
@ -1 +1 @@
|
||||
dc21e8db04d98fd6fdd03d3308cb02cb367ee939
|
||||
6ce73e2332ab123287d3333b965c0abdc038f93c
|
||||
|
17
media/js/jquery.dataTables.js
vendored
17
media/js/jquery.dataTables.js
vendored
@ -8021,14 +8021,17 @@
|
||||
}
|
||||
|
||||
// jQuery filtered cells
|
||||
return allCells.filter( s ).map( function (i, el) {
|
||||
row = el.parentNode._DT_RowIndex;
|
||||
return allCells
|
||||
.filter( s )
|
||||
.map( function (i, el) {
|
||||
row = el.parentNode._DT_RowIndex;
|
||||
|
||||
return {
|
||||
row: row,
|
||||
column: $.inArray( el, data[ row ].anCells )
|
||||
};
|
||||
} );
|
||||
return {
|
||||
row: row,
|
||||
column: $.inArray( el, data[ row ].anCells )
|
||||
};
|
||||
} )
|
||||
.toArray();
|
||||
} );
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user