diff options
author | M. Voerman <rekordc@gmail.com> | 2014-04-01 13:48:42 +0200 |
---|---|---|
committer | M. Voerman <rekordc@gmail.com> | 2014-04-01 13:48:42 +0200 |
commit | cc320996b89e34cc35391b93e883f3056993fd30 (patch) | |
tree | dec83aee4f662f4a694c149fc42a549d03fa41d4 /index.html | |
parent | 6505fa558f239d1dea1f14a61941c3a622c42ec5 (diff) | |
download | vdr-vipclient-cc320996b89e34cc35391b93e883f3056993fd30.tar.gz vdr-vipclient-cc320996b89e34cc35391b93e883f3056993fd30.tar.bz2 |
Channels update / small fixes
Diffstat (limited to 'index.html')
-rw-r--r-- | index.html | 12 |
1 files changed, 9 insertions, 3 deletions
@@ -3247,6 +3247,11 @@ if (DelisOK) { osdepginfo.style.opacity = 1 - osdepginfo.style.opacity; } break; + case "Red": + GetMarks(); + ShowMediaOSD(); + break; + case "Menu": osdepginfo.style.opacity = 0; osdepginfonext.style.opacity = 0; @@ -3795,7 +3800,7 @@ function showMediaList() { for(var i=currMed; i<=currMed + MaxMed; i++) { if (listMed>=nrMedia) { listMed= -1; } - if (listMed<-1) { listMed=nrMedia; } + if (listMed<-1) { listMed=nrMedia - 1; } // if (listMed>nrMedia) { listMed= -1; } do @@ -3804,14 +3809,15 @@ function showMediaList() { } while (!recList[listMed] && (listMed<=nrMedia)); - alert(listMed); - if ( listMed == currMed) { liststyle = " style='background:" + color_bg + ";-webkit-border-radius:25px;"; } else { liststyle = " style='"; } + alert(recList[listMed]); + alert(listMed + " : " + nrMedia); + if (listMed > nrMedia) { recList[listMed] = ""; } if (recList[listMed]) { //Solves empty string at the end. |