* More WIP on FSE
* Fix issue with events captured in VC when setFocus() toggle
This commit is contained in:
@@ -210,8 +210,16 @@ ViewController.prototype.attachClientEvents = function() {
|
||||
return;
|
||||
}
|
||||
|
||||
var self = this;
|
||||
|
||||
this.client.on('key press', this.clientKeyPressHandler);
|
||||
|
||||
Object.keys(this.views).forEach(function vid(i) {
|
||||
// remove, then add to ensure we only have one listener
|
||||
self.views[i].removeListener('action', self.viewActionListener);
|
||||
self.views[i].on('action', self.viewActionListener);
|
||||
});
|
||||
|
||||
this.attached = true;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user