From 6528a918605008d1bedeefc9b55495146448342f Mon Sep 17 00:00:00 2001 From: Chris Houseknecht Date: Fri, 11 Jul 2014 11:26:07 -0400 Subject: [PATCH] Fixed minification error in $log decorator --- awx/ui/static/js/app.js | 8 ++++---- awx/ui/static/js/config.js | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/awx/ui/static/js/app.js b/awx/ui/static/js/app.js index 403cd93ec2..29100b2547 100644 --- a/awx/ui/static/js/app.js +++ b/awx/ui/static/js/app.js @@ -393,8 +393,8 @@ angular.module('Tower', [ } ]) - .config(function($provide) { - $provide.decorator('$log', function($delegate) { + .config(['$provide', function($provide) { + $provide.decorator('$log', ['$delegate', function($delegate) { var _debug = $delegate.debug; $delegate.debug = function(msg) { // only show debug messages when debug_mode set to true in config @@ -403,8 +403,8 @@ angular.module('Tower', [ } }; return $delegate; - }); - }) + }]); + }]) .run(['$compile', '$cookieStore', '$rootScope', '$log', 'CheckLicense', '$location', 'Authorization', 'LoadBasePaths', 'ViewLicense', 'Timer', 'ClearScope', 'HideStream', 'Socket', 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: