mirror of https://github.com/MISP/MISP
fix: [workflow:standalone_module_execute] Clear error output on sucess
parent
39408794ef
commit
d418f33835
|
@ -159,9 +159,9 @@ $type_mapper = [
|
|||
.addClass(jqXHR.status == 200 ? 'label-success' : 'label-important')
|
||||
if (typeof result === 'object') {
|
||||
$executionResultText.text(JSON.stringify(result, '', 4));
|
||||
$('#executionResultHtml').empty();
|
||||
} else {
|
||||
$('#executionResultHtml').html(result);
|
||||
// $executionResultText.text(result);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue