mirror of
https://github.com/DataTables/DataTables.git
synced 2024-12-01 13:24:10 +01:00
Updated: Complex header behaviour has changed slightly to make the bottom unique TH element the one which has the sorting listener attached. Updated unit test
This commit is contained in:
parent
2d253df1e5
commit
6849515c0e
@ -18,15 +18,15 @@ $(document).ready( function () {
|
|||||||
);
|
);
|
||||||
|
|
||||||
oTest.fnTest(
|
oTest.fnTest(
|
||||||
"Sorting on non-unique TH and second TH will not sort",
|
"Sorting on non-unique TH and second TH will sort",
|
||||||
function () { $('#example thead th:eq(6)').click(); },
|
function () { $('#example thead th:eq(6)').click(); },
|
||||||
function () { return $('#example tbody tr td:eq(4)').html() == "A"; }
|
function () { return $('#example tbody tr td:eq(4)').html() == "A"; }
|
||||||
);
|
);
|
||||||
|
|
||||||
oTest.fnTest(
|
oTest.fnTest(
|
||||||
"Sorting on non-unique TH and second TH will not sort - reserve",
|
"Sorting on non-unique TH and second TH will sort - reserve",
|
||||||
function () { $('#example thead th:eq(6)').click(); },
|
function () { $('#example thead th:eq(6)').click(); },
|
||||||
function () { return $('#example tbody tr td:eq(4)').html() == "A"; }
|
function () { return $('#example tbody tr td:eq(4)').html() == "X"; }
|
||||||
);
|
);
|
||||||
|
|
||||||
oTest.fnTest(
|
oTest.fnTest(
|
||||||
|
Loading…
Reference in New Issue
Block a user