From e5cf444c174254280d932fced5dd703924c976bf Mon Sep 17 00:00:00 2001 From: Chris Houseknecht Date: Mon, 25 Aug 2014 14:19:49 -0400 Subject: [PATCH] Event Viewer Dialog Fixed: https://trello.com/c/GlHhfp7Y/95-job-event-for-win-feature-module-isn-t-displayed-correctly. Prevents 'feature_result' from appearing on the Results tab. It is now only visible on the JSON tab. --- awx/ui/static/js/helpers/EventViewer.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/awx/ui/static/js/helpers/EventViewer.js b/awx/ui/static/js/helpers/EventViewer.js index 255802cb92..c8b7c9d950 100644 --- a/awx/ui/static/js/helpers/EventViewer.js +++ b/awx/ui/static/js/helpers/EventViewer.js @@ -458,12 +458,12 @@ angular.module('EventViewerHelper', ['ModalDialog', 'Utilities', 'EventsViewerFo } }); if (section === 'Results') { - // Add result fields that might be not be found the form object - // to results. + // Add to result fields that might not be found in the form object. for (key in obj) { h = ''; if (key !== 'host_id' && key !== 'parent' && key !== 'event' && key !== 'src' && key !== 'md5sum' && - key !== 'stdout' && key !== 'traceback' && key !== 'stderr' && key !== 'cmd' && key !=='changed' && key !== "verbose_override") { + key !== 'stdout' && key !== 'traceback' && key !== 'stderr' && key !== 'cmd' && key !=='changed' && key !== "verbose_override" && + key !== 'feature_result') { if (!EventsViewerForm.fields[key]) { h = parseItem(obj[key], key, key); if (h) {