diff options
author | Byron Jones <bjones@mozilla.com> | 2012-07-24 16:59:09 +0800 |
---|---|---|
committer | Byron Jones <bjones@mozilla.com> | 2012-07-24 16:59:09 +0800 |
commit | 52a283a586e69a0d9cf3a959fda77ec73b52117a (patch) | |
tree | f172edba3b5f064a73ff73d52047d9ab401a7fe4 /js | |
parent | Bug 771107 - List of attachments in attachment details screen does not distin... (diff) | |
download | bugzilla-52a283a586e69a0d9cf3a959fda77ec73b52117a.tar.gz bugzilla-52a283a586e69a0d9cf3a959fda77ec73b52117a.tar.bz2 bugzilla-52a283a586e69a0d9cf3a959fda77ec73b52117a.zip |
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] != ''; + }); } }; |