diff options
Diffstat (limited to 'itjs/boot.js')
-rw-r--r-- | itjs/boot.js | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/itjs/boot.js b/itjs/boot.js index 2c1943f..9dd6ed9 100644 --- a/itjs/boot.js +++ b/itjs/boot.js @@ -95,7 +95,7 @@ function it_boot(file, isretry) if (loader) { - loader.open("GET", it_boot_addparam(file, "boot=1" + (isretry ? "&retry=1" : ""))); + loader.open("GET", it_boot_addparam(file, "boot=1" + (isretry ? "&retry=1&t="+new Date().getTime() : ""))); loader.onreadystatechange = function() { var error = ""; @@ -118,8 +118,9 @@ function it_boot(file, isretry) else window.setTimeout(code, 0); // Standard compliant version } - else - error = "Length mismatch " + data.code.length + " != " + data.len; + else { + alert("Length mismatch " + data.code.length + " != " + data.len); + error = "Length mismatch " + data.code.length + " != " + data.len; } } catch (e) { |