From 5700ff27ba612c72dc3eee42372395b092dc1e49 Mon Sep 17 00:00:00 2001 From: Bryan Ashby Date: Thu, 14 Jan 2016 22:58:56 -0700 Subject: [PATCH] Missing changes for theme fixes --- core/view_controller.js | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/core/view_controller.js b/core/view_controller.js index 8300772c..7fbed5cd 100644 --- a/core/view_controller.js +++ b/core/view_controller.js @@ -499,18 +499,6 @@ ViewController.prototype.loadFromPromptConfig = function(options, cb) { callback(err); }); }, - function applyThemeCustomization(callback) { - // :TODO: apply .config customization as well - if(_.isObject(promptConfig)) { - menuUtil.applyMciThemeCustomization({ - name : promptName, - type : "prompts", - client : self.client, - mci : promptConfig.mci - }); - } - callback(null); - }, function applyViewConfiguration(callback) { if(_.isObject(promptConfig.mci)) { self.applyViewConfig(promptConfig, function configApplied(err, info) { @@ -614,6 +602,7 @@ ViewController.prototype.loadFromMenuConfig = function(options, cb) { callback(err); }); }, + /* function applyThemeCustomization(callback) { formConfig = formConfig || {}; formConfig.mci = formConfig.mci || {}; @@ -636,6 +625,7 @@ ViewController.prototype.loadFromMenuConfig = function(options, cb) { callback(null); }, + */ function applyViewConfiguration(callback) { if(_.isObject(formConfig)) { self.applyViewConfig(formConfig, function configApplied(err, info) {