mirror of
https://github.com/NuSkooler/enigma-bbs.git
synced 2025-07-25 12:08:21 +02:00
* More WIP on FSE
* Fix issue with events captured in VC when setFocus() toggle
This commit is contained in:
parent
aab07bb330
commit
1bb997133f
5 changed files with 26 additions and 51 deletions
|
@ -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;
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue