mirror of
https://github.com/NuSkooler/enigma-bbs.git
synced 2025-06-08 21:54:36 +02:00
* JSONCache -> ConfigCache
* ConfigCache used for theme.hjson * Reformatted theme.hjson JSON to HJSON * Specific form ID used when applying themes if available, else generic match used * Pass extraArgs when processing 'next'
This commit is contained in:
parent
cc6d214882
commit
481c3171f4
8 changed files with 233 additions and 175 deletions
|
@ -154,8 +154,15 @@ function MenuModule(options) {
|
|||
|
||||
this.nextMenu = function() {
|
||||
if(!_.isObject(self.menuConfig.form) && !_.isString(self.menuConfig.prompt) &&
|
||||
_.isString(self.menuConfig.next))
|
||||
(_.isString(self.menuConfig.next) || _.isObject(self.menuConfig.next)))
|
||||
{
|
||||
/*
|
||||
next : "spec"
|
||||
next: {
|
||||
"asset" : "spec",
|
||||
"extraArgs" : ...
|
||||
}
|
||||
*/
|
||||
if(self.hasNextTimeout()) {
|
||||
setTimeout(function nextTimeout() {
|
||||
menuUtil.handleNext(self.client, self.menuConfig.next);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue