mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-01 20:20:10 +00:00
Strange fix: it worked but it should not
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@1157 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
10cf5fb0fc
commit
b068765d2a
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user