mirror of
https://github.com/NuSkooler/enigma-bbs.git
synced 2025-07-27 04:58:24 +02:00
* More work on MenuStack
This commit is contained in:
parent
64e9b9b057
commit
15ce69e02c
2 changed files with 47 additions and 22 deletions
|
@ -216,6 +216,18 @@ MenuModule.prototype.restoreSavedState = function(savedState) {
|
|||
// nothing in base
|
||||
};
|
||||
|
||||
MenuModule.prototype.nextMenu = function(cb) {
|
||||
self.client.menuStack.next(cb);
|
||||
};
|
||||
|
||||
MenuModule.prototype.prevMenu = function(cb) {
|
||||
self.client.menuStack.prev(cb);
|
||||
};
|
||||
|
||||
MenuModule.prototype.gotoMenu = function(name, options, cb) {
|
||||
self.client.menuStack.goto(name, options, cb);
|
||||
};
|
||||
|
||||
MenuModule.prototype.leave = function() {
|
||||
this.detachViewControllers();
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue