diff --git a/core/view_controller.js b/core/view_controller.js index daa37b51..2c252764 100644 --- a/core/view_controller.js +++ b/core/view_controller.js @@ -589,7 +589,7 @@ ViewController.prototype.loadFromPromptConfig = function (options, cb) { }); }, function applyViewConfiguration(callback) { - if (_.isObject(promptConfig.mci)) { + if (promptConfig && _.isObject(promptConfig.mci)) { self.applyViewConfig(promptConfig, function configApplied(err, info) { initialFocusId = info.initialFocusId; callback(err);