mirror of
https://github.com/Mottie/tablesorter.git
synced 2024-11-15 23:54:22 +00:00
Fixed updateCell child row handling
cache[ c.columns ].$row doesnt need to be updated in updateCell.
This commit is contained in:
parent
e44c239a81
commit
1b87904fe7
@ -4,7 +4,7 @@
|
||||
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██▀▀ ▀▀▀██
|
||||
█████▀ ▀████▀ ██ ██ ▀████▀ ██ ██ ██ ██ ▀████▀ █████▀ ██ ██ █████▀
|
||||
*/
|
||||
/*! tablesorter (FORK) - updated 04-07-2017 (v2.28.7)*/
|
||||
/*! tablesorter (FORK) - updated 04-08-2017 (v2.28.7)*/
|
||||
/* Includes widgets ( storage,uitheme,columns,filter,stickyHeaders,resizable,saveSort ) */
|
||||
(function(factory) {
|
||||
if (typeof define === 'function' && define.amd) {
|
||||
@ -1346,12 +1346,6 @@
|
||||
cache[ c.columns ].raw[ icell ] = tmp;
|
||||
tmp = ts.getParsedText( c, cell, icell, tmp );
|
||||
cache[ icell ] = tmp; // parsed
|
||||
var tmpRow = cache[c.columns].$row;
|
||||
if (tmpRow.length == 2) {
|
||||
// reapply child row
|
||||
$row = $row.add(tmpRow[1]);
|
||||
}
|
||||
cache[ c.columns ].$row = $row;
|
||||
if ( ( c.parsers[ icell ].type || '' ).toLowerCase() === 'numeric' ) {
|
||||
// update column max value (ignore sign)
|
||||
tbcache.colMax[ icell ] = Math.max( Math.abs( tmp ) || 0, tbcache.colMax[ icell ] || 0 );
|
||||
|
@ -1328,12 +1328,6 @@
|
||||
cache[ c.columns ].raw[ icell ] = tmp;
|
||||
tmp = ts.getParsedText( c, cell, icell, tmp );
|
||||
cache[ icell ] = tmp; // parsed
|
||||
var tmpRow = cache[c.columns].$row;
|
||||
if (tmpRow.length == 2) {
|
||||
// reapply child row
|
||||
$row = $row.add(tmpRow[1]);
|
||||
}
|
||||
cache[ c.columns ].$row = $row;
|
||||
if ( ( c.parsers[ icell ].type || '' ).toLowerCase() === 'numeric' ) {
|
||||
// update column max value (ignore sign)
|
||||
tbcache.colMax[ icell ] = Math.max( Math.abs( tmp ) || 0, tbcache.colMax[ icell ] || 0 );
|
||||
|
Loading…
Reference in New Issue
Block a user