mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
UI, history multipanel: attempt to solve undefined context in underscore.debounce<-checkColumnsInView by removing context binding
This commit is contained in:
@@ -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
Reference in New Issue
Block a user