From 5bc936ede3bd62f06fb5cbdac2bd451b7e9109eb Mon Sep 17 00:00:00 2001 From: rudolfkoenig <> Date: Sat, 31 Dec 2011 08:32:46 +0000 Subject: [PATCH] Strange fix: it worked but it should not git-svn-id: https://svn.fhem.de/fhem/trunk@1157 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/webfrontend/pgm2/longpoll.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fhem/webfrontend/pgm2/longpoll.js b/fhem/webfrontend/pgm2/longpoll.js index 502765802..6c998048c 100644 --- a/fhem/webfrontend/pgm2/longpoll.js +++ b/fhem/webfrontend/pgm2/longpoll.js @@ -36,7 +36,8 @@ longpoll() if(sa[i].substring(0,5) == "room=") room=sa[i]; } - pollConn.open("GET", document.location.pathname+room+"&XHR=1&inform=1", true); + var query = document.location.pathname+"?"+room+"&XHR=1&inform=1"; + pollConn.open("GET", query, true); pollConn.onreadystatechange = doUpdate; pollConn.send(null); }