function updateBugList()

in js/triage.js [342:352]


function updateBugList(divId, divIndex, totalBugs, searchUrl) {
  let html = '';
  if (totalBugs == 0) {
    html = "<div class='data'><a target='_buglist' href='" + searchUrl + "'>&nbsp;</a></div>";
    $("#data" + divIndex).replaceWith(html);
    return;
  }

  html = "<div class='data'><a target='_buglist' href='" + searchUrl + "'>" + totalBugs + "</a><div class='data sub'><abbr title=\"Bug(s) in Bugzilla with no `Severity` set\">B</abbr></div></div>";
  $("#" + divId + divIndex).replaceWith(html);
}