diff --git a/awx/ui/client/src/helpers/LogViewer.js b/awx/ui/client/src/helpers/LogViewer.js index bc2f7e6835..90e9a3f407 100644 --- a/awx/ui/client/src/helpers/LogViewer.js +++ b/awx/ui/client/src/helpers/LogViewer.js @@ -359,13 +359,13 @@ export default }; }]) - .factory('AddPreFormattedText', [function() { + .factory('AddPreFormattedText', ['$rootScope', function($rootScope) { return function(params) { var id = params.id, val = params.val, html = ""; if (params.standardOut) { - html += 'Download'; + html += 'Download'; html += "
" + val + "\n"; } else { html += "
" + val + "\n"; diff --git a/awx/ui/client/src/partials/job_stdout.html b/awx/ui/client/src/partials/job_stdout.html index 8c113d908c..9ec92b6706 100644 --- a/awx/ui/client/src/partials/job_stdout.html +++ b/awx/ui/client/src/partials/job_stdout.html @@ -22,7 +22,7 @@