diff options
author | Christian Schneider | 2007-08-22 12:57:44 +0000 |
---|---|---|
committer | Christian Schneider | 2007-08-22 12:57:44 +0000 |
commit | 0d4199a23021f4033c66f4c6a22e2654eb4b5c2e (patch) | |
tree | 820c063cdf1aa26ce2055dc95ef5043318a3532e /it_html.class | |
parent | 9553763ef0c3b46fc0c2851fccc09c4fd3854669 (diff) | |
download | itools-0d4199a23021f4033c66f4c6a22e2654eb4b5c2e.tar.gz itools-0d4199a23021f4033c66f4c6a22e2654eb4b5c2e.tar.bz2 itools-0d4199a23021f4033c66f4c6a22e2654eb4b5c2e.zip |
Fix itjs paths with parameters (e.g. language override on poi popups)
Diffstat (limited to 'it_html.class')
-rw-r--r-- | it_html.class | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/it_html.class b/it_html.class index 034d288..0375891 100644 --- a/it_html.class +++ b/it_html.class @@ -505,7 +505,7 @@ function head($args = array()) $checksum = itjs::checksum(itjs::filenames($p['js'])); $js .= $this->_itjs("boot.js", "inline"); $js .= "function it_boot_start(){ " . trim($p['jsboot']) . " }\n"; - $js .= "it_boot('/itjs/" . $p['js'] . "?s=$checksum');\n"; + $js .= "it_boot('/itjs/" . $p['js'] . (strpos($p['js'], "?") ? "&" : "?") . "s=$checksum');\n"; } $js .= $this->_itjs($p['jsinline'], 'inline'); |