diff options
author | Byron Jones <bjones@mozilla.com> | 2012-07-12 08:23:41 +0200 |
---|---|---|
committer | Byron Jones <bjones@mozilla.com> | 2012-07-12 08:23:41 +0200 |
commit | a01e739a0e2712b13605f159efb908296ef31b30 (patch) | |
tree | dcedba440a08ec85c8b6dce4cce9fa20647880bb /js | |
parent | eff303412a2e37173a9b7f451acf1c35eba2e88e (diff) | |
download | bugzilla-a01e739a0e2712b13605f159efb908296ef31b30.tar.gz bugzilla-a01e739a0e2712b13605f159efb908296ef31b30.tar.xz |
Bug 764517: Fix clearing the list of keywords and then pressing Enter causing the first keyword to be submitted
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 5f01904cd..a2e26fa17 100644 --- a/js/field.js +++ b/js/field.js @@ -790,5 +790,8 @@ YAHOO.bugzilla.keywordAutocomplete = { this.expandContainer(); } }); + fieldAutoComp.dataRequestEvent.subscribe( function(type, args) { + args[0].autoHighlight = args[1] != ''; + }); } }; |