mirror of
https://github.com/NuSkooler/enigma-bbs.git
synced 2025-06-10 22:54:37 +02:00
* Not much ... few minor changes
This commit is contained in:
parent
9442760679
commit
3be271aab5
6 changed files with 84 additions and 7 deletions
|
@ -521,7 +521,11 @@ ViewController.prototype.loadFromPromptConfig = function(options, cb) {
|
|||
|
||||
ViewController.prototype.loadFromMenuConfig = function(options, cb) {
|
||||
assert(_.isObject(options));
|
||||
assert(_.isObject(options.mciMap));
|
||||
|
||||
if(!_.isObject(options.mciMap)) {
|
||||
cb(new Error('Missing option: mciMap'));
|
||||
return;
|
||||
}
|
||||
|
||||
var self = this;
|
||||
var formIdKey = options.formId ? options.formId.toString() : '0';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue