From 8c197f0df6c4cdb34d7373eb97157e496e4754f5 Mon Sep 17 00:00:00 2001 From: "Michael J. Rubinsky" Date: Sun, 28 Jun 2009 14:05:14 -0400 Subject: [PATCH] Correctly fix the JS path --- kronolith/lib/Imple/Embed.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)) { -- 2.11.0