mirror of
https://github.com/NuSkooler/enigma-bbs.git
synced 2025-06-06 12:47:13 +02:00
* WIP new fallback system and @systemMethod:fallback
This commit is contained in:
parent
6c38ff54d5
commit
41cdeb4c55
2 changed files with 36 additions and 11 deletions
|
@ -133,4 +133,12 @@ function logoff(callingMenu, formData, extraArgs) {
|
|||
|
||||
client.end();
|
||||
}, 500);
|
||||
}
|
||||
|
||||
function fallbackMenu(callingMenu, formData, extraArgs) {
|
||||
callingMenu.client.fallbackMenuModule( { extraArgs : extraArgs }, function result(err) {
|
||||
if(err) {
|
||||
callingMenu.client.log.error( { error : err }, 'Error attempting to ')
|
||||
}
|
||||
});
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue