2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-04-07 12:58:13 +00:00

console.js: abort the connection (Forum #35421)

git-svn-id: https://svn.fhem.de/fhem/trunk@8293 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2015-03-26 16:20:57 +00:00
parent 28c9cdff60
commit 25f494b2df

View File

@ -27,6 +27,10 @@ consFill()
{
FW_errmsg("");
if(consConn) {
consConn.onreadystatechange = undefined;
consConn.abort();
}
consConn = new XMLHttpRequest();
var query = document.location.pathname+"?XHR=1"+
"&inform=type=raw;filter="+consFilter+