mirror of
https://github.com/ansible/awx.git
synced 2026-01-27 08:31:28 -03:30
Fixed minification error in $log decorator
This commit is contained in:
parent
abf134b7ce
commit
6528a91860
@ -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',
|
||||
|
||||
@ -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:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user