From 9b72618ff0b37b77ffcc55603be127aaa7f6df64 Mon Sep 17 00:00:00 2001 From: "M. Voerman" Date: Sat, 26 Oct 2013 11:04:56 +0200 Subject: Try 2 of the resume fix for VDR 2.1.1 --- index.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'index.html') diff --git a/index.html b/index.html index 8cb6bad..6ad0bcc 100644 --- a/index.html +++ b/index.html @@ -3402,10 +3402,12 @@ function getResume() { position = 0; try { var xmlhttp = new XMLHttpRequest(); + var i = 0; xmlhttp.open("GET", server_ip + recServ + "/getResume.xml?guid=" + recGUID[currMed] + "&" + new Date().getTime(), false); xmlhttp.send(); xmlDoc=xmlhttp.responseXML; - position = xmlDoc.getElementsByTagName("resume")[0].childNodes[0].nodeValue; + i = xmlDoc.getElementsByTagName("resume")[0].childNodes[0].nodeValue.split(","); + position = Number(i[0]); } catch(e) { alert("Getting Resume problem: " + e); } -- cgit v1.2.3