From 4a1aafd810036d069636aa598e1de2fe27587f2d Mon Sep 17 00:00:00 2001 From: "M. Voerman" Date: Sun, 10 Aug 2014 14:26:07 +0200 Subject: fix for [undefined] in server (search)timers menu --- History | 3 +++ index.html | 32 +++++++++++++++++++------------- settings.js | 2 +- 3 files changed, 23 insertions(+), 14 deletions(-) diff --git a/History b/History index c80aca9..5adc8c2 100644 --- a/History +++ b/History @@ -3,6 +3,9 @@ Motorola Vip : 1960, 1910, 1903, 1963. VDR 1.7.29+ +0.26 Fix for [undefined] in (search)timer menu when there are no (search)timers on server + + 0.25 Get recordings from Streamdev, Restfulapi or SmartTVweb. Check if SmartTVweb is on the server if not turn SmartTVweb options off Check if Restfulapi is on the server if not turn Restfulapi options off diff --git a/index.html b/index.html index 44bb9aa..c7f32b5 100644 --- a/index.html +++ b/index.html @@ -3111,10 +3111,11 @@ try { xmlDoc=xmlhttp.responseXML; var x=xmlDoc.getElementsByTagName("timer"); maxTimers = x.length; - timers.length = 0; // clear timers[i] tries to clear crap if current x.length < previous x.length - for (var i=0;i 0) { + for (var i=0;i 0) { + for (var i=0;i 0) { + for (var i=0;i