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

Function saveChannelIconUpdate

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

Source from the content-addressed store, hash-verified

860}
861
862function saveChannelIconUpdate(xepg) {
863
864 var key = "x-update-channel-icon";
865 var value = JSON.parse(document.getElementById("x-update-channel-icon").lastChild.checked);
866 if (bulk == false) {
867 var thisChannel = xEPG["epgMapping"][xepg];
868 thisChannel[key] = value
869 updateChannelLogo(xepg)
870
871 mappingDetail(xepg);
872 searchInMapping();
873 return
874 }
875
876 if (bulk == true) {
877 saveBulk(key, value);
878 mappingDetail(xepg);
879 return
880 }
881
882}
883
884function saveChannelName(xepg) {
885 if (bulk == false) {

Callers

nothing calls this directly

Calls 4

updateChannelLogoFunction · 0.85
mappingDetailFunction · 0.85
saveBulkFunction · 0.85
searchInMappingFunction · 0.70

Tested by

no test coverage detected