* New menu stack functional
* @systemMethod:fallbackMenu -> @systemMethod:prevMenu * Lots of cleanup of gotoMenuModule() -> MenuModule.gotoMenu() * Lots of cleanup of fallbackMenuModule() -> MenuModule.prevMenu() * Lots of cleanup of 'next' processing -> MenuModule.nextMenu() * Clean up CPU strings a bit more
This commit is contained in:
@@ -224,9 +224,9 @@ function startListening() {
|
||||
});
|
||||
|
||||
client.on('idle timeout', function idleTimeout() {
|
||||
client.log.info('User idle timeout expired');
|
||||
client.log.info('User idle timeout expired');
|
||||
|
||||
client.gotoMenuModule( { name : 'idleLogoff' }, function goMenuRes(err) {
|
||||
client.menuStack.goto('idleLogoff', function goMenuRes(err) {
|
||||
if(err) {
|
||||
// likely just doesn't exist
|
||||
client.term.write('\nIdle timeout expired. Goodbye!\n');
|
||||
|
||||
Reference in New Issue
Block a user