From 3892b3db1ce4854d39c4ac8e886105764a8abe04 Mon Sep 17 00:00:00 2001 From: Jared Tabor Date: Wed, 28 Oct 2015 10:08:46 -0700 Subject: [PATCH] Forgot to update object reference for upgraded $http service from angular 1.4 --- awx/ui/client/src/helpers/LoadConfig.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/awx/ui/client/src/helpers/LoadConfig.js b/awx/ui/client/src/helpers/LoadConfig.js index 4b7cb26cc6..0a55b55fd7 100644 --- a/awx/ui/client/src/helpers/LoadConfig.js +++ b/awx/ui/client/src/helpers/LoadConfig.js @@ -57,9 +57,9 @@ angular.module('LoadConfigHelper', ['Utilities']) // load config.js $log.info('attempting to load config.js'); $http({ method:'GET', url: $basePath + 'config.js' }) - .then(function(data) { + .then(function(response) { $log.info('loaded config.js'); - $AnsibleConfig = eval(data); + $AnsibleConfig = eval(response.data); Store('AnsibleConfig', $AnsibleConfig); $rootScope.$emit('LoadConfig'); })