From 25f494b2df5f46ed22d52c6a68a82b9f8d105832 Mon Sep 17 00:00:00 2001 From: rudolfkoenig <> Date: Thu, 26 Mar 2015 16:20:57 +0000 Subject: [PATCH] console.js: abort the connection (Forum #35421) git-svn-id: https://svn.fhem.de/fhem/trunk@8293 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/www/pgm2/console.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/fhem/www/pgm2/console.js b/fhem/www/pgm2/console.js index fa2e34847..8ceaa0f6c 100644 --- a/fhem/www/pgm2/console.js +++ b/fhem/www/pgm2/console.js @@ -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+