diff options
author | Byron Jones <glob@mozilla.com> | 2015-05-07 06:49:01 +0200 |
---|---|---|
committer | Byron Jones <glob@mozilla.com> | 2015-05-07 06:49:01 +0200 |
commit | 33a4bd46fd17ab28567cdeb2eb3733901f2a033e (patch) | |
tree | 2639f65e1e408482b8e1b65f73c2245ae58617ba /template/en/default/search/form.html.tmpl | |
parent | 7a75256f5daa3b81bea0c6d47b53d2409568d7fa (diff) | |
download | bugzilla-33a4bd46fd17ab28567cdeb2eb3733901f2a033e.tar.gz bugzilla-33a4bd46fd17ab28567cdeb2eb3733901f2a033e.tar.xz |
Bug 1159589: migrate autocomplete from yui to jquery
r=dylan,a=glob
Diffstat (limited to 'template/en/default/search/form.html.tmpl')
-rw-r--r-- | template/en/default/search/form.html.tmpl | 18 |
1 files changed, 5 insertions, 13 deletions
diff --git a/template/en/default/search/form.html.tmpl b/template/en/default/search/form.html.tmpl index c9265f076..410bd2d20 100644 --- a/template/en/default/search/form.html.tmpl +++ b/template/en/default/search/form.html.tmpl @@ -268,19 +268,11 @@ TUI_hide_default('information_query'); [% " selected" IF default.emailtype.$n == qv.name %]>[% qv.description %]</option> [% END %] </select> - [% IF feature_enabled('jsonrpc') && Param('ajax_user_autocompletion') %] - <div id="email[% n %]_autocomplete"> - [% END %] - <input name="email[% n %]" class="email" id="email[% n %]" - value="[% default.email.$n FILTER html %]"> - [% IF feature_enabled('jsonrpc') && Param('ajax_user_autocompletion') %] - <div id="email[% n %]_autocomplete_container"></div> - </div> - <script type="text/javascript"> - YAHOO.bugzilla.userAutocomplete.init( "email[% n %]", - "email[% n %]_autocomplete_container"); - </script> - [% END %] + <input + name="email[% n %]" + class="email [% "bz_autocomplete_user" IF feature_enabled('jsonrpc') && Param('ajax_user_autocompletion') %]" + id="email[% n %]" + value="[% default.email.$n FILTER html %]"> </div> [% END %] [% Hook.process('email_numbering_end') %] |