From a0e2647d1228254f2282b054d1f86fae4f350fc8 Mon Sep 17 00:00:00 2001 From: Thomas BrĂ¼derli Date: Tue, 11 Sep 2007 05:45:52 +0000 Subject: Send scripts uncompressed when no ActiveX is available + reverted r20842 --- itjs.php | 5 +---- itjs/boot.js | 2 +- 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 -- cgit v1.2.3