From: Michael J. Rubinsky Date: Sat, 31 Jan 2009 17:24:37 +0000 (-0500) Subject: Attempt to add Autocompletion to event form. X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=f2a7416616889a616abc4443edd17698a8314e67;p=horde.git Attempt to add Autocompletion to event form. The ajax works, returns the results, populates the _results div but for some reason, the div is not made visible. --- diff --git a/kronolith/new.php b/kronolith/new.php index b73fce63a..adefdc0a3 100644 --- a/kronolith/new.php +++ b/kronolith/new.php @@ -76,4 +76,6 @@ require KRONOLITH_TEMPLATES . '/common-header.inc'; require KRONOLITH_TEMPLATES . '/menu.inc'; require KRONOLITH_TEMPLATES . '/edit/javascript.inc'; require KRONOLITH_TEMPLATES . '/edit/edit.inc'; +Kronolith_Imple::factory('TagAutoCompleter', array('triggerId' => 'tags', 'id' => $event->getUID())); + require $registry->get('templates', 'horde') . '/common-footer.inc'; diff --git a/kronolith/templates/edit/edit.inc b/kronolith/templates/edit/edit.inc index 6c9e513a7..8ab58d930 100644 --- a/kronolith/templates/edit/edit.inc +++ b/kronolith/templates/edit/edit.inc @@ -418,6 +418,8 @@ endif; +
+ @@ -446,4 +448,4 @@ endif; + \ No newline at end of file