Fix syntax error. Datepicker is still completely broken though.
authorJan Schneider <jan@horde.org>
Mon, 23 Nov 2009 10:37:19 +0000 (11:37 +0100)
committerJan Schneider <jan@horde.org>
Mon, 23 Nov 2009 10:37:19 +0000 (11:37 +0100)
framework/Ui/lib/Horde/Ui/VarRenderer/Html.php

index cd65252..2b95af4 100644 (file)
@@ -494,7 +494,7 @@ class Horde_Ui_VarRenderer_Html extends Horde_Ui_VarRenderer
             $GLOBALS['browser']->hasFeature('javascript')) {
             Horde_Ui_JsCalendar::init();
             $imgId = $this->_genID($var->getVarName(), false) . 'goto';
-            $html .= Horde::link('#', _("Select a date"), '', '', 'Horde_Calendar.open(\'' . $imgId . '\', {}, function(data) { ' . $js_code . ')') . Horde::img('calendar.png', _("Calendar"), 'id="' . $imgId . '"', $GLOBALS['registry']->getImageDir('horde')) . "</a>\n";
+            $html .= Horde::link('#', _("Select a date"), '', '', 'Horde_Calendar.open(\'' . $imgId . '\', {}, function(data) { ' . $js_code . ' })') . Horde::img('calendar.png', _("Calendar"), 'id="' . $imgId . '"', $GLOBALS['registry']->getImageDir('horde')) . "</a>\n";
         }
 
         return $html;