diff options
author | Byron Jones <bjones@mozilla.com> | 2012-07-24 10:59:09 +0200 |
---|---|---|
committer | Byron Jones <bjones@mozilla.com> | 2012-07-24 10:59:09 +0200 |
commit | 52a283a586e69a0d9cf3a959fda77ec73b52117a (patch) | |
tree | f172edba3b5f064a73ff73d52047d9ab401a7fe4 /js | |
parent | 8c5d6e253a72c941574165d2a9e147099ec7fb46 (diff) | |
download | bugzilla-52a283a586e69a0d9cf3a959fda77ec73b52117a.tar.gz bugzilla-52a283a586e69a0d9cf3a959fda77ec73b52117a.tar.xz |
Bug 764517: Don't automatically select the first keyword if the search string is empty
r=dkl, a=LpSolit
Diffstat (limited to 'js')
-rw-r--r-- | js/field.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/js/field.js b/js/field.js index 94876059e..f5376a4f2 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] != ''; + }); } }; |