Commit 31764a52 authored by Rémi Duraffort's avatar Rémi Duraffort

job: only update if failure_comment isn't empty

Change-Id: Id264361fa5489172baf2b37b12584636174a627f
parent 24fe81e6
......@@ -737,7 +737,7 @@
$('#fail').css('display', 'none');
poll_status = 0;
}
if (data['failure_comment'] != null) {
if (data['failure_comment']) {
$("#failure_block").show();
$(".failure_comment").html(data['failure_comment']);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment