mirror of
https://github.com/NuSkooler/enigma-bbs.git
synced 2025-06-06 20:55:30 +02:00
* ACS system is now to chars for all IDs, e.g. ID, LC, etc.
This commit is contained in:
parent
882c8fbdfb
commit
03f9ad4789
4 changed files with 59 additions and 72 deletions
|
@ -215,6 +215,13 @@ MenuModule.prototype.restoreSavedState = function(savedState) {
|
|||
};
|
||||
|
||||
MenuModule.prototype.nextMenu = function(cb) {
|
||||
// :TODO: this, prevMenu(), and gotoMenu() need a default |cb| handler if none is supplied.
|
||||
// ...if the error is that we do not meet ACS requirements and did not get a match, then what?
|
||||
if(!cb) {
|
||||
cb = function(err) {
|
||||
console.log(err)
|
||||
}
|
||||
}
|
||||
this.client.menuStack.next(cb);
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue