mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-07 19:04:20 +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:
parent
28c9cdff60
commit
25f494b2df
@ -27,6 +27,10 @@ consFill()
|
|||||||
{
|
{
|
||||||
FW_errmsg("");
|
FW_errmsg("");
|
||||||
|
|
||||||
|
if(consConn) {
|
||||||
|
consConn.onreadystatechange = undefined;
|
||||||
|
consConn.abort();
|
||||||
|
}
|
||||||
consConn = new XMLHttpRequest();
|
consConn = new XMLHttpRequest();
|
||||||
var query = document.location.pathname+"?XHR=1"+
|
var query = document.location.pathname+"?XHR=1"+
|
||||||
"&inform=type=raw;filter="+consFilter+
|
"&inform=type=raw;filter="+consFilter+
|
||||||
|
Loading…
x
Reference in New Issue
Block a user