summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas BrĂ¼derli2007-09-11 05:45:52 +0000
committerThomas BrĂ¼derli2007-09-11 05:45:52 +0000
commita0e2647d1228254f2282b054d1f86fae4f350fc8 (patch)
tree82e2458e7b669d03ec9366237206c1fa28ca40b4
parent941471e59dd9bc4011ab6a1edba39e70b6ce08a2 (diff)
downloaditools-a0e2647d1228254f2282b054d1f86fae4f350fc8.tar.gz
itools-a0e2647d1228254f2282b054d1f86fae4f350fc8.tar.bz2
itools-a0e2647d1228254f2282b054d1f86fae4f350fc8.zip
Send scripts uncompressed when no ActiveX is available + reverted r20842
-rw-r--r--itjs.php5
-rw-r--r--itjs/boot.js2
2 files changed, 2 insertions, 5 deletions
diff --git a/itjs.php b/itjs.php
index f0b0deb..d8932ed 100644
--- a/itjs.php
+++ b/itjs.php
@@ -45,10 +45,7 @@ if ($checksum != $_SERVER['HTTP_IF_NONE_MATCH'])
if ($_REQUEST['boot'])
$data .= "window.it_boot_init();";
- $data = itjs::strip($data);
-
- header("Content-Length: " . strlen($data));
- echo $data;
+ echo itjs::strip($data);
}
else
header("HTTP/1.0 304 Not Modified");
diff --git a/itjs/boot.js b/itjs/boot.js
index cd6ab99..66d36f5 100644
--- a/itjs/boot.js
+++ b/itjs/boot.js
@@ -157,7 +157,7 @@ function it_boot(file, isretry)
else if (dom)
{
var tag = doc.createElement("script");
- tag.src = it_boot_addparam(file, 'boot=1');
+ tag.src = it_boot_addparam(file, 'boot=1&retry=1');
dom.appendChild(tag);
}
else