Strange fix: it worked but it should not

git-svn-id: https://fhem.svn.sourceforge.net/svnroot/fhem/trunk/fhem@1157 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig
2011-12-31 08:32:46 +00:00
parent 4a5d2473f5
commit de46210356

View File

@@ -36,7 +36,8 @@ longpoll()
if(sa[i].substring(0,5) == "room=") if(sa[i].substring(0,5) == "room=")
room=sa[i]; 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.onreadystatechange = doUpdate;
pollConn.send(null); pollConn.send(null);
} }