[IMP] web: webclient: listen to scroll event
and propagate events on the main bus
This commit is contained in:
@@ -62,7 +62,11 @@ var WebClient = Widget.extend({
|
||||
// though it has no valid session
|
||||
return $.when();
|
||||
}
|
||||
}).then(core.bus.trigger.bind(core.bus, 'web_client_ready'));
|
||||
}).then(function () {
|
||||
// Listen to 'scroll' event and propagate it on main bus
|
||||
self.action_manager.$el.on('scroll', core.bus.trigger.bind(core.bus, 'scroll'));
|
||||
core.bus.trigger('web_client_ready');
|
||||
});
|
||||
},
|
||||
bind_events: function() {
|
||||
var self = this;
|
||||
|
||||
Reference in New Issue
Block a user