always try to show jenkins CI results regardless of issue history (#59482)

This commit is contained in:
Paul Marillonnet 2021-12-08 18:43:57 +01:00
parent 7169e14f97
commit 159723f8b2
1 changed files with 9 additions and 0 deletions

View File

@ -298,6 +298,15 @@ function alter_issue_show_page() {
}
$(function() {
// create #history if it does not exist, in order to show jenkins CI results
var historyExists = document.getElementById("history");
if (!historyExists) {
var history = document.createElement("div");
var content = document.getElementById("content");
history.id = 'history';
content.appendChild(history);
}
$('.wiki table tr:first-child td').on('click', sort_table).css('cursor', 'row-resize');
/* 440 is header image height (500px) - header height (60px) */