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.
This commit is contained in:
Chris Houseknecht 2014-08-25 14:19:49 -04:00
parent fa02d11d30
commit e5cf444c17

View File

@ -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) {