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

Function displayVtCountData

web_server/public/javascripts/reports.js:174–183  ·  view source on GitHub ↗
(obj, divRef)

Source from the content-addressed store, hash-verified

172}
173
174function displayVtCountData(obj, divRef) {
175 var cSpan = document.getElementById(divRef)
176 if (Object.hasOwn(obj, "count")) {
177 cSpan.innerHTML = obj.count;
178 } else if (Object.hasOwn(obj, "message")) {
179 cSpan.innerHTML = "Error: " + obj.message;
180 } else {
181 cSpan.innerHTML = "Error parsing response";
182 }
183}
184
185function fetch_vt_records(type, count) {
186 var url, query;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected