From 4a69faa6cb32368dcd32e838615a1f7f79859d7d Mon Sep 17 00:00:00 2001 From: Thomas BrĂ¼derli Date: Thu, 27 Sep 2007 08:34:54 +0000 Subject: Send notification when script is incomplete; just to find out --- itjs/boot.js | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'itjs') 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; -- cgit v1.2.3