summaryrefslogtreecommitdiffstats
path: root/statechartz/statechartz.js
diff options
context:
space:
mode:
Diffstat (limited to 'statechartz/statechartz.js')
-rw-r--r--statechartz/statechartz.js3
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;