summaryrefslogtreecommitdiff
path: root/index.html
diff options
context:
space:
mode:
authorM. Voerman <rekordc@gmail.com>2013-10-26 11:04:56 +0200
committerM. Voerman <rekordc@gmail.com>2013-10-26 11:04:56 +0200
commit9b72618ff0b37b77ffcc55603be127aaa7f6df64 (patch)
tree4e1a54abcd7f26e61c28a835b9f3a0ab584ac9a1 /index.html
parent5639ec8898367b1560fa346f865862f07dc5c926 (diff)
downloadvdr-vipclient-9b72618ff0b37b77ffcc55603be127aaa7f6df64.tar.gz
vdr-vipclient-9b72618ff0b37b77ffcc55603be127aaa7f6df64.tar.bz2
Try 2 of the resume fix for VDR 2.1.1
Diffstat (limited to 'index.html')
-rw-r--r--index.html4
1 files changed, 3 insertions, 1 deletions
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);
}