diff options
author | Thomas BrĂ¼derli | 2008-11-26 10:07:16 +0000 |
---|---|---|
committer | Thomas BrĂ¼derli | 2008-11-26 10:07:16 +0000 |
commit | 643e9f34522a7c07d9f41c0f4f28f7169dad31c5 (patch) | |
tree | 0ed789c656280ea2da227c84c2afb4125f5833cd /itjs.class | |
parent | bb671acbe075d93844c6d8ffeef3bcd94019f805 (diff) | |
download | itools-643e9f34522a7c07d9f41c0f4f28f7169dad31c5.tar.gz itools-643e9f34522a7c07d9f41c0f4f28f7169dad31c5.tar.bz2 itools-643e9f34522a7c07d9f41c0f4f28f7169dad31c5.zip |
Add new it_http class to itjs includes
Diffstat (limited to 'itjs.class')
-rw-r--r-- | itjs.class | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -46,7 +46,8 @@ function serialize($values, $envelope = false) if (($envelope || isset($values['eof'])) && ($callback = it::replace(array('[^\w.]' => ""), $_REQUEST['itjs_call']))) { $target = $_REQUEST['itjs_iframe'] ? "parent" : "window"; - $header = "$target.it_loader && $target.$callback && $target.$callback.dataReady("; + list($itclass) = explode('.', $callback); + $header = "$target.$itclass && $target.$callback && $target.$callback.dataReady("; $footer = "," . intval($_REQUEST['itjs_callid']) . ");"; if ($_REQUEST['itjs_iframe']) # iframe-based loading required by Opera 7 @@ -112,7 +113,7 @@ function filenames($filelist) $itjs = "/www/server/phpinclude/itools/itjs"; $searchlib = "/www/lib.search.ch/doc"; $special = array( - "itools" => "$itjs/it.js,$itjs/loader.js,$itjs/state.js,$itjs/timer.js", + "itools" => "$itjs/it.js,$itjs/http.js,$itjs/loader.js,$itjs/state.js,$itjs/timer.js", "boot.js" => "$itjs/boot.js", "state.html" => "$itjs/state.html", "error.gif" => "$itjs/error.gif", |