From: Byron Jones Date: Tue, 24 Jul 2012 08:59:09 +0000 (+0800) Subject: Bug 764517: Don't automatically select the first keyword if the search string is... X-Git-Tag: bugzilla-4.3.2~13 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=52a283a586e69a0d9cf3a959fda77ec73b52117a;p=thirdparty%2Fbugzilla.git Bug 764517: Don't automatically select the first keyword if the search string is empty r=dkl, a=LpSolit --- diff --git a/js/field.js b/js/field.js index 94876059e8..f5376a4f26 100644 --- a/js/field.js +++ b/js/field.js @@ -909,6 +909,9 @@ YAHOO.bugzilla.fieldAutocomplete = { this.expandContainer(); } }); + fieldAutoComp.dataRequestEvent.subscribe( function(type, args) { + args[0].autoHighlight = args[1] != ''; + }); } };