From: Sven Schöling Date: Wed, 9 Dec 2009 11:55:59 +0000 (+0100) Subject: OE: Ajax Autocompletion nur für , nicht für , nicht für [% INCLUDE 'generic/autocomplete.html', AUTOCOMPLETES => [ - { script => 'ct.pl', column => 'name', selector => '#' _ vc, params => { vc => vc } }, + { script => 'ct.pl', column => 'name', selector => 'input[id="' _ vc _ '"]', params => { vc => vc } }, ] %] diff --git a/templates/webpages/oe/form_header_master.html b/templates/webpages/oe/form_header_master.html index ae2a49bd0..0060854be 100644 --- a/templates/webpages/oe/form_header_master.html +++ b/templates/webpages/oe/form_header_master.html @@ -48,7 +48,7 @@ [% INCLUDE 'generic/autocomplete.html', AUTOCOMPLETES => [ - { script => 'ct.pl', column => 'name', selector => '#' _ vc, params => { vc => vc } }, + { script => 'ct.pl', column => 'name', selector => 'input[id="' _ vc _ '"]', params => { vc => vc } }, ] %]