Fix inclusion of popup.js
authorMichael J. Rubinsky <mrubinsk@horde.org>
Fri, 31 Jul 2009 22:03:22 +0000 (18:03 -0400)
committerMichael J. Rubinsky <mrubinsk@horde.org>
Fri, 31 Jul 2009 22:04:24 +0000 (18:04 -0400)
ansel/lib/View/GalleryRenderer/Gallery.php

index e6b5b4a..5b70d7a 100644 (file)
@@ -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") . '</a>';
         }
-
-        Horde::addScriptFiles('popup.js', 'horde', true);
+        Horde::addScriptFile('popup.js', 'horde', true);
         include ANSEL_TEMPLATES . '/view/gallery.inc';
         return ob_get_clean();
     }