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

Function saveChannelNameUpdate

html/js/mapping-editor.js:895–913  ·  view source on GitHub ↗
(xepg)

Source from the content-addressed store, hash-verified

893}
894
895function saveChannelNameUpdate(xepg) {
896 var key = "x-update-channel-name";
897 var value = JSON.parse(document.getElementById("x-update-channel-name").lastChild.checked);
898
899 if (bulk == false) {
900 var thisChannel = xEPG["epgMapping"][xepg];
901 thisChannel[key] = value
902 mappingDetail(xepg);
903 searchInMapping();
904 return
905 }
906
907 if (bulk == true) {
908 saveBulk(key, value);
909 mappingDetail(xepg);
910 return
911 }
912
913}
914
915function saveChannelStatus(xepg) {
916 var thisChannel = xEPG["epgMapping"][xepg];

Callers

nothing calls this directly

Calls 3

mappingDetailFunction · 0.85
saveBulkFunction · 0.85
searchInMappingFunction · 0.70

Tested by

no test coverage detected