From: Michael J. Rubinsky Date: Sun, 28 Jun 2009 18:05:14 +0000 (-0400) Subject: Correctly fix the JS path X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=8c197f0df6c4cdb34d7373eb97157e496e4754f5;p=horde.git Correctly fix the JS path --- diff --git a/kronolith/lib/Imple/Embed.php b/kronolith/lib/Imple/Embed.php index 5608ce9b1..93984b54c 100644 --- a/kronolith/lib/Imple/Embed.php +++ b/kronolith/lib/Imple/Embed.php @@ -76,8 +76,7 @@ class Kronolith_Imple_Embed extends Kronolith_Imple { $results = $registry->call('horde/blockContent', array('kronolith', $view, $params)); /* Some needed paths */ - $js_path = $registry->get('jsuri', 'horde'); - $pturl = Horde::url($js_path . '/prototype.js', true); + $js_path = $registry->get('jsuri', 'kronolith'); /* Local js */ $jsurl = Horde::url($js_path . '/embed.js', true); @@ -85,6 +84,7 @@ class Kronolith_Imple_Embed extends Kronolith_Imple { /* Horde's js */ $hjs_path = $registry->get('jsuri', 'horde'); $hjsurl = Horde::url($hjs_path . '/horde-embed.js', true); + $pturl = Horde::url($hjs_path . '/prototype.js', true); /* CSS */ if (empty($nocss)) {