Filter & stickyHeaders: hideFilters applies to stickyHeaders again. Fixes #1050

This commit is contained in:
Rob Garrison 2015-10-18 13:19:49 -05:00
parent 726edc7c77
commit 1bb00280ed
2 changed files with 5 additions and 5 deletions

View File

@ -851,10 +851,10 @@
return false;
}
},
hideFilters: function( c ) {
var timer;
c.$table
.find( '.' + tscss.filterRow )
hideFilters: function( c, $table ) {
var timer,
$row = ( $table || c.$table ).find( '.' + tscss.filterRow ).addClass( tscss.filterRowHide );
$row
.bind( 'mouseenter mouseleave', function( e ) {
// save event object - http://bugs.jquery.com/ticket/12140
var event = e,

View File

@ -262,7 +262,7 @@
ts.filter.bindSearch( $table, $stickyCells.find('.' + ts.css.filter) );
// support hideFilters
if (wo.filter_hideFilters) {
ts.filter.hideFilters($stickyTable, c);
ts.filter.hideFilters(c, $stickyTable);
}
}