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

Function saveChannelLogo

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

Source from the content-addressed store, hash-verified

841}
842
843function saveChannelLogo(xepg) {
844 if (bulk == false) {
845 var thisChannel = xEPG["epgMapping"][xepg];
846 thisChannel["tvg-logo"] = document.getElementById("tvg-logo").lastChild.value;
847 document.getElementById(xepg).childNodes[2].lastChild.setAttribute("src", thisChannel["tvg-logo"]);
848 mappingDetail(xepg);
849 return
850 }
851
852 if (bulk == true) {
853 var key = "tvg-logo";
854 var value = document.getElementById("tvg-logo").lastChild.value;
855 saveBulk(key, value);
856
857 mappingDetail(xepg);
858 return
859 }
860}
861
862function saveChannelIconUpdate(xepg) {
863

Callers

nothing calls this directly

Calls 2

mappingDetailFunction · 0.85
saveBulkFunction · 0.85

Tested by

no test coverage detected