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:
@@ -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);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user