mirror of
https://github.com/NuSkooler/enigma-bbs.git
synced 2025-06-11 23:24:43 +02:00
* Notes but ButtonView skeleton
This commit is contained in:
parent
381ded17a6
commit
8cd062be72
2 changed files with 31 additions and 0 deletions
|
@ -58,9 +58,11 @@ EditTextView.prototype.onSpecialKeyPress = function(keyName) {
|
|||
} else if(this.isSpecialKeyMapped('enter', keyName)) {
|
||||
if(this.multiLine) {
|
||||
} else {
|
||||
// :TODO: by default handle this in View/base. Can always "absorb" the call here for special handling
|
||||
this.emit('action', 'accepted');
|
||||
}
|
||||
} else if(this.isSpecialKeyMapped('next', keyName)) {
|
||||
// :TODO: by default handle next in View/base
|
||||
this.emit('action', 'next');
|
||||
}
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue