* 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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user