Commit 7df0160f authored by Max Kanat-Alexander's avatar Max Kanat-Alexander

Bug 578256 - Autocomplete user names in the search UI

r=pyrzak, a=mkanat
parent f1d9113d
......@@ -342,7 +342,19 @@ TUI_hide_default('information_query');
[% " selected" IF default.emailtype.$n == qv.name %]>[% qv.description %]</option>
[% END %]
</select>
<input name="email[% n %]" class="email" id="email[% n %]" value="[% default.email.$n FILTER html %]">
[% IF feature_enabled('jsonrpc') %]
<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') %]
<div id="email[% n %]_autocomplete_container"></div>
</div>
<script type="text/javascript">
YAHOO.bugzilla.userAutocomplete.init( "email[% n %]",
"email[% n %]_autocomplete_container");
</script>
[% END %]
</div>
[% END %]
[% Hook.process('email_numbering_end') %]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment