diff options
author | Byron Jones <bjones@mozilla.com> | 2012-07-24 10:57:33 +0200 |
---|---|---|
committer | Byron Jones <bjones@mozilla.com> | 2012-07-24 10:57:33 +0200 |
commit | bd81163bcecc92e20febf5cdc7ac083a117c6056 (patch) | |
tree | 06215381b4b80addffd319b9e7232a0a60bdbf24 /js | |
parent | f7b9d8a20032ed7e2b5a0fc3e135c3f36954f93d (diff) | |
download | bugzilla-bd81163bcecc92e20febf5cdc7ac083a117c6056.tar.gz bugzilla-bd81163bcecc92e20febf5cdc7ac083a117c6056.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 2c3fd69b7..3d85ff116 100644 --- a/js/field.js +++ b/js/field.js @@ -787,5 +787,8 @@ YAHOO.bugzilla.keywordAutocomplete = { this.expandContainer(); } }); + fieldAutoComp.dataRequestEvent.subscribe( function(type, args) { + args[0].autoHighlight = args[1] != ''; + }); } }; |