diff options
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 1b9b8310f..2e36eb9e3 100644 --- a/template/en/default/search/form.html.tmpl +++ b/template/en/default/search/form.html.tmpl @@ -344,19 +344,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') %] |