From: Krinkle Date: Mon, 31 Oct 2011 22:20:25 +0000 (+0000) Subject: jquery.tablesorter: More selector fixes X-Git-Tag: 1.31.0-rc.0~26802 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/categories/modifier.php?a=commitdiff_plain;h=7553ecf2f6afebad1ab75f129e3ada5265675502;p=lhc%2Fweb%2Fwiklou.git jquery.tablesorter: More selector fixes * Limit to rowSpans (td or th) within tableRows that are a direct child of this table's tBody * Follows-up r99092, r101417 --- diff --git a/resources/jquery/jquery.tablesorter.js b/resources/jquery/jquery.tablesorter.js index 97c7baf96c..aeada8478f 100644 --- a/resources/jquery/jquery.tablesorter.js +++ b/resources/jquery/jquery.tablesorter.js @@ -442,7 +442,7 @@ function explodeRowspans( $table ) { // Split multi row cells into multiple cells with the same content - $table.find( '> tbody [rowspan]' ).each(function() { + $table.find( '> tbody > tr > [rowspan]' ).each(function() { var rowSpan = this.rowSpan; this.rowSpan = 1; var cell = $( this );