Revision b70c1cca
Von Sven Schöling vor mehr als 15 Jahren hinzugefügt
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
OE: Ajax Autocompletion nur für <input>, nicht für <select>.