From: Michael J. Rubinsky Date: Fri, 31 Jul 2009 22:03:22 +0000 (-0400) Subject: Fix inclusion of popup.js X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=41d1419b6b66494603c5aa893295da3888bd9ffb;p=horde.git Fix inclusion of popup.js --- diff --git a/ansel/lib/View/GalleryRenderer/Gallery.php b/ansel/lib/View/GalleryRenderer/Gallery.php index e6b5b4ab3..5b70d7aa3 100644 --- a/ansel/lib/View/GalleryRenderer/Gallery.php +++ b/ansel/lib/View/GalleryRenderer/Gallery.php @@ -121,8 +121,7 @@ class Ansel_View_GalleryRenderer_Gallery extends Ansel_View_GalleryRenderer_Base if (!empty($option_copy)) { $action_links[] = Horde::link('#', '', 'widget', '', 'copySelected(); return false;') . _("Copy") . ''; } - - Horde::addScriptFiles('popup.js', 'horde', true); + Horde::addScriptFile('popup.js', 'horde', true); include ANSEL_TEMPLATES . '/view/gallery.inc'; return ob_get_clean(); }