summaryrefslogtreecommitdiff
path: root/itjs
diff options
context:
space:
mode:
authorThomas BrĂ¼derli2007-09-27 08:34:54 +0000
committerThomas BrĂ¼derli2007-09-27 08:34:54 +0000
commit4a69faa6cb32368dcd32e838615a1f7f79859d7d (patch)
treef8712bef56511fe49875fe1be31bc4e36f72ecc0 /itjs
parent936ebf61f5e296c31f7b30fdec1e8b3e74895640 (diff)
downloaditools-4a69faa6cb32368dcd32e838615a1f7f79859d7d.tar.gz
itools-4a69faa6cb32368dcd32e838615a1f7f79859d7d.tar.bz2
itools-4a69faa6cb32368dcd32e838615a1f7f79859d7d.zip
Send notification when script is incomplete; just to find out
Diffstat (limited to 'itjs')
-rw-r--r--itjs/boot.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/itjs/boot.js b/itjs/boot.js
index c2c7f31..726bcd2 100644
--- a/itjs/boot.js
+++ b/itjs/boot.js
@@ -134,7 +134,11 @@ function it_boot(file, isretry)
window.setTimeout(code, 0); // Standard compliant version
}
else
+ {
error = "Incomplete script @ status " + loader.status;
+ if (!isretry) // send notification for analyzing
+ new Image().src = "/itjs/error.gif/" + escape(error) + "|" + escape(file) + "|-1|" + (new Date().getTime() - it_catcherrstart) + "|";
+ }
}
else
error = loader.statusText;