Merge branch 'master' of ssh://numinibsd/git/base/enigma-bbs

This commit is contained in:
Bryan Ashby
2016-08-30 21:59:29 -06:00
8 changed files with 69 additions and 25 deletions

View File

@@ -677,6 +677,10 @@
keys: [ "escape", "q", "shift + q" ]
action: @systemMethod:prevMenu
}
{
keys: [ "x", "shift + x" ]
action: @method:fullExit
}
]
}
}

View File

@@ -103,6 +103,11 @@ function MessageListModule(options) {
} else {
return cb(null);
}
},
fullExit : function(formData, extraArgs, cb) {
self.menuResult = { fullExit : true };
return self.prevMenu(cb);
}
};
@@ -249,4 +254,8 @@ MessageListModule.prototype.restoreSavedState = function(savedState) {
if(savedState) {
this.initialFocusIndex = savedState.initialFocusIndex;
}
};
};
MessageListModule.prototype.getMenuResult = function() {
return this.menuResult;
};