From 958058202c2f692ec54a04cab5a2c4b66865edc2 Mon Sep 17 00:00:00 2001 From: "M. Voerman" Date: Sun, 7 Jul 2013 15:58:00 +0200 Subject: Some fixes --- index.html | 44 +++++++++++++++++++++++++++++--------------- settings.js | 2 +- 2 files changed, 30 insertions(+), 16 deletions(-) diff --git a/index.html b/index.html index 5379682..361819f 100644 --- a/index.html +++ b/index.html @@ -2852,7 +2852,7 @@ try { } } - // try to fix display double entries in the last directory. + // try to fix display double entries in the last directory. (Only shown for some time after deleting files, should be fixed now) recTitl[i] = "fake"; recGroup[i] = 0; // @@ -3024,8 +3024,11 @@ function MakeRecList2() { recGroup[i] = xx; } else { recGroup[i] = 0; - if (rec_New[i] == "true" ) { recList[i] = "\uE003\uE010\uE003" + recTitl[i]; - } else { recList[i] = "\uE003\uE003\uE003" + recTitl[i]; } + if (rec_New[i] == "true" ) { + recList[i] = "\uE003\uE010\uE003" + recTitl[i]; + } else { + recList[i] = "\uE003\uE003\uE003" + recTitl[i]; + } } x = recTitl[i][0]; } @@ -3036,10 +3039,18 @@ function MakeRecList3(GroupID) { for (var i=0;inrMedia-1) { - listMed= -1; - } - do + if (listMed<0) { listMed=nrMedia; } + if (listMed>nrMedia-1) { listMed= -1; } + + do { listMed = listMed + 1; } - while (!recList[listMed] && (listMed\uE003" + Left(recList[listMed],60) + "\uE003\uE003"; + } } mediaList.innerHTML = htmlstring + ""; //ShowInfo(); diff --git a/settings.js b/settings.js index d967647..e6ac58a 100644 --- a/settings.js +++ b/settings.js @@ -37,7 +37,7 @@ var inst_timeout = 15 * 1000; // 15 minutes var serverEPGdays = 3 * (60 * 60 * 24); // the higher the longer you wait while getting the epg info -months = new Array('January', 'February', 'March', 'April', 'May', 'June', 'Jully', 'August', 'September', 'October', 'November', 'December'); +months = new Array('January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December'); days = new Array('Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'); var NN = new Array(); -- cgit v1.2.3