Merge pull request #1165 from jasongabel/patch-1

Update widget-scroller.js opt no Vertical Scroll
This commit is contained in:
Rob G 2016-02-24 21:03:02 -06:00
commit f6d3a1587d

View File

@ -248,8 +248,14 @@
.wrap( '<div class="' + tscss.scrollerHeader + '" />' )
.find( '.' + tscss.header );
// use max-height, so the height resizes dynamically while filtering
// if max-height is greater than 0 use max-height, so the height resizes dynamically while filtering
// else let the table not have a vertical scroll
if(maxHt > 0){
$table.wrap( '<div class="' + tscss.scrollerTable + '" style="max-height:' + maxHt + 'px;" />' );
}
else {
$table.wrap( '<div class="' + tscss.scrollerTable + '" />' );
}
$tableWrap = $table.parent();
// make scroller header sortable