From b51f8beefbaff76a7dfe71069dbe503ecb492fe2 Mon Sep 17 00:00:00 2001 From: John Mitchell Date: Tue, 4 Aug 2015 11:49:40 -0400 Subject: [PATCH] no standard out download for system jobs --- awx/ui/client/src/helpers/LogViewer.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/awx/ui/client/src/helpers/LogViewer.js b/awx/ui/client/src/helpers/LogViewer.js index ecc07531a3..90d63034e1 100644 --- a/awx/ui/client/src/helpers/LogViewer.js +++ b/awx/ui/client/src/helpers/LogViewer.js @@ -96,10 +96,11 @@ export default if (data.result_stdout) { $('#logview-tabs li:eq(1)').show(); + var showStandardOut = (data.type !== "system_job") ? true : false; AddPreFormattedText({ id: 'stdout-form-container', val: data.result_stdout, - standardOut: true, + standardOut: showStandardOut, jobUrl: data.url }); }