diff options
author | Thomas BrĂ¼derli | 2007-09-11 05:45:52 +0000 |
---|---|---|
committer | Thomas BrĂ¼derli | 2007-09-11 05:45:52 +0000 |
commit | a0e2647d1228254f2282b054d1f86fae4f350fc8 (patch) | |
tree | 82e2458e7b669d03ec9366237206c1fa28ca40b4 | |
parent | 941471e59dd9bc4011ab6a1edba39e70b6ce08a2 (diff) | |
download | itools-a0e2647d1228254f2282b054d1f86fae4f350fc8.tar.gz itools-a0e2647d1228254f2282b054d1f86fae4f350fc8.tar.bz2 itools-a0e2647d1228254f2282b054d1f86fae4f350fc8.zip |
Send scripts uncompressed when no ActiveX is available + reverted r20842
-rw-r--r-- | itjs.php | 5 | ||||
-rw-r--r-- | itjs/boot.js | 2 |
2 files changed, 2 insertions, 5 deletions
@@ -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 |