diff --git a/hydra/nginx/html/status/index.html b/hydra/nginx/html/status/index.html index 1c3e60a..f774ece 100644 --- a/hydra/nginx/html/status/index.html +++ b/hydra/nginx/html/status/index.html @@ -165,6 +165,7 @@ function updateLatestbuildtime(td) { latestbuildtimenode.textContent = value; } +/** Returns a list of child elements of ROOT with name NAME, non-recursively. */ function getElementsByName(root, name) { let result = []; let childNodes = root.childNodes; @@ -177,8 +178,6 @@ function getElementsByName(root, name) { return result; } -// XXX: I think getElementsByTagName does depth recursion. That's not what I want. - /** Given a TABLE and PACKAGEGROUPID, removes the entry for build BUILDID from it. */ function removePackagegroupelement(table, packagegroupid, buildid) { let rootbody = table.getElementsByTagName("tbody")[0];