UI, history multipanel: attempt to solve undefined context in underscore.debounce<-checkColumnsInView by removing context binding

This commit is contained in:
Carl Eberhard
2015-04-09 11:05:34 -04:00
parent af7cfadfc4
commit fb1048bb09
3 changed files with 5 additions and 3 deletions
@@ -968,7 +968,9 @@ var MultiPanelColumns = Backbone.View.extend( baseMVC.LoggableMixin ).extend({
// when scrolling - check for histories now in view: they will fire 'in-view' and queueHdaLoading if necc.
//TODO:?? might be able to simplify and not use pub-sub
var debouncedInView = _.debounce( _.bind( this.checkColumnsInView, this ), 100 );
var debouncedInView = _.debounce( function _debouncedInner(){
multipanel.checkColumnsInView();
}, 100 );
this.$( '.middle' ).parent().scroll( debouncedInView );
},
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long