diff options
Diffstat (limited to 'statechartz/statechartz.js')
-rw-r--r-- | statechartz/statechartz.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/statechartz/statechartz.js b/statechartz/statechartz.js index 464f3a6..56fc924 100644 --- a/statechartz/statechartz.js +++ b/statechartz/statechartz.js @@ -754,6 +754,9 @@ Statechartz = var href = link.getAttribute("href"); var xhttp=new XMLHttpRequest(); xhttp.open("GET",href); + xhttp.onerror = function(e) { + alert(e.message); + }; xhttp.onreadystatechange = function() { if (this.readyState == 4) { var xmlDoc=this.responseXML; |