From 9849cf5bfbeb18a12ed67816792f973536b5fa01 Mon Sep 17 00:00:00 2001 From: "M. Voerman" Date: Tue, 7 May 2013 20:27:33 +0200 Subject: small fixes for subdir --- index.html | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'index.html') diff --git a/index.html b/index.html index b0e0f10..287fcd7 100644 --- a/index.html +++ b/index.html @@ -2512,6 +2512,7 @@ if (DelisOK) { function getRecList() { getVDRstatus(); MaxInGroup = 14; + subgroup = 0; try { xmlhttp=new XMLHttpRequest(); xmlhttp.open("GET",(recServ + recPath + "?" + new Date().getTime()),false); @@ -2687,7 +2688,7 @@ function MakeRecList2() { { if (recTitl[i][1]) { if (recTitl[i][0] != x) { - recList[i] = "\uE002 " + recTitl[i][0]; + recList[i] = "\uE002" + recTitl[i][0]; xx = xx + 1; } else { recList[i] = "" ; @@ -2695,7 +2696,7 @@ function MakeRecList2() { recGroup[i] = xx; } else { recGroup[i] = 0; - recList[i] = "\uE003 " + recTitl[i]; + recList[i] = "\uE003" + recTitl[i]; if (rec_New[i] == "true" ) { recList[i] = "\uE010\uE003" + recList[i]; } else { recList[i] = "\uE003\uE003" + recList[i]; } } @@ -2729,12 +2730,12 @@ function showMediaList() { if (getRecOK == 1) { var htmlstring = "

RECORDINGS (free " + (100 - perc_space) + "%, " + (free_space/1024).toFixed(0) + " GB)

"; - if (MaxInGroup < 14) {var MaxMed = MaxInGroup - 1; } + if (MaxInGroup < 14) {var MaxMed = MaxInGroup; } } else { var htmlstring = "

EPG " + channelsnames[currChan] + "

"; } - for(var i=currMed; i<=currMed + MaxMed; i++) { + for(var i=currMed; i<(currMed + MaxMed); i++) { if (listMed<0) { listMed=nrMedia; } -- cgit v1.2.3