diff --git a/awx/ui/static/js/config.js b/awx/ui/static/js/config.js index 8b82bc3da5..66255cf4da 100644 --- a/awx/ui/static/js/config.js +++ b/awx/ui/static/js/config.js @@ -14,7 +14,7 @@ var $AnsibleConfig = { tooltip_delay: {show: 500, hide: 100}, // Default number of milliseconds to delay displaying/hiding tooltips - debug_mode: true, // Enable console logging messages + debug_mode: false, // Enable console logging messages password_strength: 45, // User password strength. Integer between 0 and 100, 100 being impossibly strong. // This value controls progress bar colors: diff --git a/awx/ui/static/lib/ansible/api-loader.js b/awx/ui/static/lib/ansible/api-loader.js index 570411efdc..61b9f0045f 100644 --- a/awx/ui/static/lib/ansible/api-loader.js +++ b/awx/ui/static/lib/ansible/api-loader.js @@ -15,10 +15,10 @@ angular.module('ApiLoader', ['Utilities']) function ($http, $rootScope, Store, ProcessErrors) { return function () { - $http.({ method: 'GET', url:'/api/', headers: { 'Authorization': "" } }) + $http({ method: 'GET', url:'/api/', headers: { 'Authorization': "" } }) .success(function (data) { var base = data.current_version; - $http.get({ method: 'GET', url:base, headers: { 'Authorization': "" } }) + $http({ method: 'GET', url:base, headers: { 'Authorization': "" } }) .success(function (data) { data.base = base; $rootScope.defaultUrls = data;