mirror of
https://github.com/NuSkooler/enigma-bbs.git
synced 2025-06-10 14:44:40 +02:00
* WIP ViewController.loadFromMCIMapAndConfig()
This commit is contained in:
parent
cca9334bd3
commit
8c9b0e729f
5 changed files with 96 additions and 9 deletions
|
@ -85,9 +85,9 @@ function getFormConfig(menuConfig, mciMap, cb) {
|
|||
function filtered(form) {
|
||||
if(form.length > 0) {
|
||||
assert(1 === form.length);
|
||||
cb(form[0]);
|
||||
cb(null, form[0]);
|
||||
} else {
|
||||
cb(null);
|
||||
cb(new Error('No matching form configuration found'));
|
||||
}
|
||||
}
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue