summaryrefslogtreecommitdiffstats
path: root/template/en/default/global/userselect.html.tmpl
diff options
context:
space:
mode:
authorDavid Lawrence <dlawrence@mozilla.com>2011-10-24 23:54:13 +0200
committerDavid Lawrence <dlawrence@mozilla.com>2011-10-24 23:54:13 +0200
commitb1ef06ac929b878163befb7effa54aa13d6426e5 (patch)
treea0c2617bd49ea7bc3bd56ef265345f77a6d7e319 /template/en/default/global/userselect.html.tmpl
parent650a2f9f5807536ee118ba031622bede7f4e1642 (diff)
downloadbugzilla-b1ef06ac929b878163befb7effa54aa13d6426e5.tar.gz
bugzilla-b1ef06ac929b878163befb7effa54aa13d6426e5.tar.xz
Bug 685552 - Email auto-completion causes server to thrash
r/a=mkanat
Diffstat (limited to 'template/en/default/global/userselect.html.tmpl')
-rw-r--r--template/en/default/global/userselect.html.tmpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/template/en/default/global/userselect.html.tmpl b/template/en/default/global/userselect.html.tmpl
index 600b21c13..1d0395043 100644
--- a/template/en/default/global/userselect.html.tmpl
+++ b/template/en/default/global/userselect.html.tmpl
@@ -79,7 +79,7 @@
[% END %]
</select>
[% ELSE %]
- [% IF id && feature_enabled('jsonrpc') %]
+ [% IF feature_enabled('jsonrpc') && Param('ajax_user_autocompletion') && id %]
<div id="[% id FILTER html %]_autocomplete"
[% IF classes %] class="[% classes.join(' ') FILTER html %]" [% END %]>
[% END %]
@@ -94,7 +94,7 @@
[% IF size %] size="[% size FILTER html %]" [% END %]
[% IF id %] id="[% id FILTER html %]" [% END %]
>
- [% IF id && feature_enabled('jsonrpc') %]
+ [% IF feature_enabled('jsonrpc') && Param('ajax_user_autocompletion') && id %]
<div id="[% id FILTER html %]_autocomplete_container"></div>
</div>
<script type="text/javascript">