MCPcopy Index your code
hub / github.com/Threadfin/Threadfin / searchInMapping

Function searchInMapping

html/js/mapping-editor.js:427–441  ·  view source on GitHub ↗
(elm)

Source from the content-addressed store, hash-verified

425}
426
427function searchInMapping(elm) {
428
429 var search = document.getElementById("searchMapping").value;
430 var values = getObjKeys(searchObj)
431
432 for (var i = values.length - 1; i >= 0; i--) {
433 var id = searchObj[values[i]];
434 var bool = values[i].toLowerCase().includes(search.toLowerCase());
435 switch (bool) {
436 case true: document.getElementById(id).style.display = ""; break;
437 case false: document.getElementById(id).style.display = "none"; break;
438 }
439 }
440
441}
442
443function mappingDetail(xepg) {
444

Callers 8

switchChannelStatusFunction · 0.70
saveChannelIconUpdateFunction · 0.70
saveChannelNameFunction · 0.70
saveChannelNameUpdateFunction · 0.70
saveChannelStatusFunction · 0.70
saveGroupTitleFunction · 0.70
saveCategoryFunction · 0.70
mappingChannelFunction · 0.70

Calls 1

getObjKeysFunction · 0.70

Tested by

no test coverage detected