summaryrefslogtreecommitdiffstats
path: root/js/field.js
diff options
context:
space:
mode:
authorByron Jones <bjones@mozilla.com>2012-07-12 08:23:41 +0200
committerByron Jones <bjones@mozilla.com>2012-07-12 08:23:41 +0200
commita01e739a0e2712b13605f159efb908296ef31b30 (patch)
treedcedba440a08ec85c8b6dce4cce9fa20647880bb /js/field.js
parenteff303412a2e37173a9b7f451acf1c35eba2e88e (diff)
downloadbugzilla-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/field.js')
-rw-r--r--js/field.js3
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] != '';
+ });
}
};