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

Function addCountBox

web_server/public/javascripts/zone_ui.js:464–471  ·  view source on GitHub ↗
(source, results)

Source from the content-addressed store, hash-verified

462}
463
464function addCountBox(source, results) {
465 let dataRow = document.getElementById(layout[source]['target'] + "DataRow");
466 dataRow.appendChild(create_div_data(source, create_button(results.count, source + "_button", "icon", "M", "search")));
467 let titleRow = document.getElementById(layout[source]['target'] + "TitleRow");
468 titleRow.appendChild(create_div_title(source, layout[source]['desc']));
469
470 document.getElementById(source + "_button").addEventListener("click", display_records);
471}
472
473function display_response_count(results, source) {
474

Callers 1

display_response_countFunction · 0.70

Calls 3

create_buttonFunction · 0.85
create_div_dataFunction · 0.70
create_div_titleFunction · 0.70

Tested by

no test coverage detected