aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrédéric Buclin <LpSolit@gmail.com>2013-04-05 21:56:38 +0200
committerFrédéric Buclin <LpSolit@gmail.com>2013-04-05 21:56:38 +0200
commitbae339624bf43994d7cf3b543752c8ae0058d6b9 (patch)
tree16704b10e3d7097a8032efec1f45acd045512fdc
parenta81cdb1b3c8432873d1fe98993bf6ba9bab461ab (diff)
downloadbugs-bae339624bf43994d7cf3b543752c8ae0058d6b9.tar
bugs-bae339624bf43994d7cf3b543752c8ae0058d6b9.tar.gz
bugs-bae339624bf43994d7cf3b543752c8ae0058d6b9.tar.bz2
bugs-bae339624bf43994d7cf3b543752c8ae0058d6b9.tar.xz
bugs-bae339624bf43994d7cf3b543752c8ae0058d6b9.zip
Bug 857562: ajax_user_autocompletion param ignored on Search by People fields
r=dkl a=LpSolit
-rw-r--r--template/en/default/search/form.html.tmpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/template/en/default/search/form.html.tmpl b/template/en/default/search/form.html.tmpl
index 6ced46236..26bf7f06e 100644
--- a/template/en/default/search/form.html.tmpl
+++ b/template/en/default/search/form.html.tmpl
@@ -256,12 +256,12 @@ TUI_hide_default('information_query');
[% " selected" IF default.emailtype.$n == qv.name %]>[% qv.description %]</option>
[% END %]
</select>
- [% IF feature_enabled('jsonrpc') %]
+ [% 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') %]
+ [% IF feature_enabled('jsonrpc') && Param('ajax_user_autocompletion') %]
<div id="email[% n %]_autocomplete_container"></div>
</div>
<script type="text/javascript">