mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-02-07 16:59:18 +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:
parent
fcf46b3ca3
commit
5bc936ede3
@ -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);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user