MCPcopy Create free account
hub / github.com/adobe/Marinus / add_table_row

Function add_table_row

web_server/public/javascripts/ip_range.js:21–34  ·  view source on GitHub ↗
(displayName, cellID)

Source from the content-addressed store, hash-verified

19var divRefTable = {};
20
21function add_table_row(displayName, cellID) {
22 let tableRef = document.getElementById('ipRangeTable').getElementsByTagName('tbody')[0];
23 let newRow = tableRef.insertRow(tableRef.rows.length);
24
25 let newCell = newRow.insertCell(0);
26 let newText = document.createTextNode(displayName);
27 newCell.appendChild(newText);
28
29 let newCell2 = newRow.insertCell();
30 newCell2.id = cellID;
31 newCell2.style.padding = "10px";
32 let newText2 = document.createTextNode("");
33 newCell2.appendChild(newText2);
34}
35
36function buildPage() {
37 make_get_request("/api/v1.0/dns/sources", populateDivRefTable);

Callers 1

displayCountDataFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected