From cb1699beb8e5a2fe457a9f07ff0131ca22330202 Mon Sep 17 00:00:00 2001 From: Vincent Nivoliers <vincent.nivoliers@gmail.com> Date: Wed, 21 Sep 2016 01:08:13 +0200 Subject: [PATCH] icecat wtill buggy, reverting --- js/explorer.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/js/explorer.js b/js/explorer.js index e3af38f..6f5a70c 100644 --- a/js/explorer.js +++ b/js/explorer.js @@ -130,11 +130,10 @@ function openXML(filename, handler) { xhttp=new ActiveXObject("Microsoft.XMLHTTP") ; } xhttp.addEventListener("error", handle_request_error); - //xhttp.addEventListener("readystatechange", function() {handler(this);}); - xhttp.open("GET",filename, false) ; + xhttp.addEventListener("readystatechange", function() {handler(this);}); + xhttp.open("GET",filename) ; xhttp.overrideMimeType('text/xml'); xhttp.send(null) ; - handler(xhttp) ; } /* exploration */ -- GitLab