From 41d1419b6b66494603c5aa893295da3888bd9ffb Mon Sep 17 00:00:00 2001 From: "Michael J. Rubinsky" Date: Fri, 31 Jul 2009 18:03:22 -0400 Subject: [PATCH] Fix inclusion of popup.js --- ansel/lib/View/GalleryRenderer/Gallery.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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(); } -- 2.11.0