Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision b70c1cca

Von Sven Schöling vor mehr als 15 Jahren hinzugefügt

  • ID b70c1cca36d13e39be64ed542b7972c97d4005b4
  • Vorgänger 7d997312
  • Nachfolger b6121c68

OE: Ajax Autocompletion nur für <input>, nicht für <select>.

Unterschiede anzeigen:

templates/webpages/oe/form_header_de.html
<input type="button" value="D" onclick="show_vc_details('[% HTML.escape(vc) %]')">
</td>
[% 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 } },
]
%]
</tr>
templates/webpages/oe/form_header_master.html
<input type="button" value="<translate>Details (one letter abbreviation)</translate>" onclick="show_vc_details('[% HTML.escape(vc) %]')">
</td>
[% 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 } },
]
%]
</tr>

Auch abrufbar als: Unified diff