Kunden/Lieferanten Autocompletion in OE Suchmasken.
authorSven Schöling <s.schoeling@linet-services.de>
Wed, 9 Dec 2009 13:52:29 +0000 (14:52 +0100)
committerSven Schöling <s.schoeling@linet-services.de>
Wed, 9 Dec 2009 13:52:29 +0000 (14:52 +0100)
templates/webpages/oe/search_de.html
templates/webpages/oe/search_master.html

index 0ebe9e0..9a70bf6 100644 (file)
                  show_empty    = 1,
                  allow_textbox = 1,
                  -%]
+[% INCLUDE 'generic/autocomplete.html', AUTOCOMPLETES => [
+  { script => 'ct.pl', column => 'name', selector => 'input[name="' _ vc _ '"]', params => { vc => vc } },
+]
+%]
      </td>
     </tr>
 [%- IF ALL_DEPARTMENTS.size %]
index cc0a2cb..e7fcc77 100644 (file)
                  show_empty    = 1,
                  allow_textbox = 1,
                  -%]
+[% INCLUDE 'generic/autocomplete.html', AUTOCOMPLETES => [
+  { script => 'ct.pl', column => 'name', selector => 'input[name="' _ vc _ '"]', params => { vc => vc } },
+]
+%]
      </td>
     </tr>
 [%- IF ALL_DEPARTMENTS.size %]