From d141d8370a56c0116a70a63af41fa23554c79c99 Mon Sep 17 00:00:00 2001 From: Allan Jardine Date: Wed, 17 Nov 2010 08:25:54 +0000 Subject: [PATCH] Fixed: The behaviour for complex headers has been altered slightly for complex headers in that only the first of non-unique TH elements will be click to sort-able. Unit test update needed as this is different behaviour from before when all elements belonging to a column were click to sort. --- media/unit_testing/tests_onhold/1_dom/-complex_header.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/media/unit_testing/tests_onhold/1_dom/-complex_header.js b/media/unit_testing/tests_onhold/1_dom/-complex_header.js index fb173a78..453d3aa6 100755 --- a/media/unit_testing/tests_onhold/1_dom/-complex_header.js +++ b/media/unit_testing/tests_onhold/1_dom/-complex_header.js @@ -18,15 +18,15 @@ $(document).ready( function () { ); oTest.fnTest( - "Sorting on non-unique TH and second TH will sort", + "Sorting on non-unique TH and second TH will not sort", function () { $('#example thead th:eq(6)').click(); }, function () { return $('#example tbody tr td:eq(4)').html() == "A"; } ); oTest.fnTest( - "Sorting on non-unique TH and second TH will sort - reserve", + "Sorting on non-unique TH and second TH will not sort - reserve", function () { $('#example thead th:eq(6)').click(); }, - function () { return $('#example tbody tr td:eq(4)').html() == "X"; } + function () { return $('#example tbody tr td:eq(4)').html() == "A"; } ); oTest.fnTest(