(obj, divRef)
| 473 | } |
| 474 | |
| 475 | function displayDomainPortCountData(obj, divRef) { |
| 476 | var elem = document.getElementById("httpPortListBody"); |
| 477 | var parts = divRef.split(":"); |
| 478 | var port = parts[1]; |
| 479 | var row = elem.insertRow(0); |
| 480 | var cell1 = row.insertCell(0); |
| 481 | cell1.style = "text-align:center; padding: 10px;"; |
| 482 | var cell2 = row.insertCell(1); |
| 483 | cell2.style = "text-align:center; padding: 10px;"; |
| 484 | cell1.innerHTML = "Port " + port; |
| 485 | if (Object.hasOwn(obj, "count")) { |
| 486 | cell2.appendChild(create_button(obj.count, 'dp' + port, 'variant')); |
| 487 | } else if (Object.hasOwn(obj, "message")) { |
| 488 | cell2.innerHTML = "Error: " + obj.message; |
| 489 | } else { |
| 490 | cell2.innerHTML = "Error parsing response"; |
| 491 | } |
| 492 | } |
| 493 | |
| 494 | function getSrvPortIPList() { |
| 495 | let port = this.id.substring(4); |
nothing calls this directly
no test coverage detected