From f2a7416616889a616abc4443edd17698a8314e67 Mon Sep 17 00:00:00 2001 From: "Michael J. Rubinsky" Date: Sat, 31 Jan 2009 12:24:37 -0500 Subject: [PATCH] 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. --- kronolith/new.php | 2 ++ kronolith/templates/edit/edit.inc | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) 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 -- 2.11.0