From 9ae5631b5d24472131dd5d1931b9b4fce7344ddb Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sven=20Sch=C3=B6ling?= Date: Wed, 9 Dec 2009 14:52:29 +0100 Subject: [PATCH] Kunden/Lieferanten Autocompletion in OE Suchmasken. --- templates/webpages/oe/search_de.html | 4 ++++ templates/webpages/oe/search_master.html | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/templates/webpages/oe/search_de.html b/templates/webpages/oe/search_de.html index 0ebe9e01c..9a70bf6ea 100644 --- a/templates/webpages/oe/search_de.html +++ b/templates/webpages/oe/search_de.html @@ -26,6 +26,10 @@ show_empty = 1, allow_textbox = 1, -%] +[% INCLUDE 'generic/autocomplete.html', AUTOCOMPLETES => [ + { script => 'ct.pl', column => 'name', selector => 'input[name="' _ vc _ '"]', params => { vc => vc } }, +] +%] [%- IF ALL_DEPARTMENTS.size %] diff --git a/templates/webpages/oe/search_master.html b/templates/webpages/oe/search_master.html index cc0a2cbf3..e7fcc7745 100644 --- a/templates/webpages/oe/search_master.html +++ b/templates/webpages/oe/search_master.html @@ -26,6 +26,10 @@ show_empty = 1, allow_textbox = 1, -%] +[% INCLUDE 'generic/autocomplete.html', AUTOCOMPLETES => [ + { script => 'ct.pl', column => 'name', selector => 'input[name="' _ vc _ '"]', params => { vc => vc } }, +] +%] [%- IF ALL_DEPARTMENTS.size %] -- 2.20.1