Scroller: update when "applyWidgets" is used

This commit is contained in:
Rob Garrison 2016-07-18 17:24:48 -05:00
parent fe75d0ff7a
commit 84180c1961
No known key found for this signature in database
GPG Key ID: 0A42D160D71978E1
2 changed files with 4 additions and 2 deletions

File diff suppressed because one or more lines are too long

View File

@ -77,7 +77,9 @@
scroller_barWidth : null scroller_barWidth : null
}, },
format : function( table, c, wo ) { format : function( table, c, wo ) {
if ( !c.isScrolling ) { if ( c.isScrolling ) {
ts.scroller.resize( c, wo );
} else {
// initialize here instead of in widget init to give the // initialize here instead of in widget init to give the
// filter widget time to finish building the filter row // filter widget time to finish building the filter row
ts.scroller.setup( c, wo ); ts.scroller.setup( c, wo );