2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-01-31 12:49:34 +00:00

Strange fix: it worked but it should not

git-svn-id: https://svn.fhem.de/fhem/trunk@1157 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2011-12-31 08:32:46 +00:00
parent fcf46b3ca3
commit 5bc936ede3

View File

@ -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);
}