Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision b70c1cca

Von Sven Schöling vor fast 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
48 48
                      <input type="button" value="D" onclick="show_vc_details('[% HTML.escape(vc) %]')">
49 49
                    </td>
50 50
[% INCLUDE 'generic/autocomplete.html', AUTOCOMPLETES => [
51
  { script => 'ct.pl', column => 'name', selector => '#' _ vc, params => { vc => vc } },
51
  { script => 'ct.pl', column => 'name', selector => 'input[id="' _ vc _ '"]', params => { vc => vc } },
52 52
]
53 53
%]
54 54
                  </tr>
templates/webpages/oe/form_header_master.html
48 48
                      <input type="button" value="<translate>Details (one letter abbreviation)</translate>" onclick="show_vc_details('[% HTML.escape(vc) %]')">
49 49
                    </td>
50 50
[% INCLUDE 'generic/autocomplete.html', AUTOCOMPLETES => [
51
  { script => 'ct.pl', column => 'name', selector => '#' _ vc, params => { vc => vc } },
51
  { script => 'ct.pl', column => 'name', selector => 'input[id="' _ vc _ '"]', params => { vc => vc } },
52 52
]
53 53
%]
54 54
                  </tr>

Auch abrufbar als: Unified diff