summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorByron Jones <glob@mozilla.com>2015-07-31 09:28:52 +0200
committerByron Jones <glob@mozilla.com>2015-07-31 09:28:52 +0200
commit615049471530043cc533e207503fe028f6b39b4a (patch)
treead85b008bb6919fe6926503cc29ea56bee54de9f
parent2e5fc83cf0f921e6964ce89df7ea024ddbdf523e (diff)
downloadbugzilla-615049471530043cc533e207503fe028f6b39b4a.tar.gz
bugzilla-615049471530043cc533e207503fe028f6b39b4a.tar.xz
Bug 1185856 - Tabbing out of the keyword field should not select the first available keyword
-rw-r--r--extensions/BugModal/web/bug_modal.js2
-rw-r--r--js/field.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/extensions/BugModal/web/bug_modal.js b/extensions/BugModal/web/bug_modal.js
index a31847d32..89b73c3b5 100644
--- a/extensions/BugModal/web/bug_modal.js
+++ b/extensions/BugModal/web/bug_modal.js
@@ -427,7 +427,7 @@ $(function() {
tabDisabled: true,
delimiter: /,\s*/,
minChars: 0,
- autoSelectFirst: true,
+ autoSelectFirst: false,
triggerSelectOnValidInput: false,
formatResult: function(suggestion, currentValue) {
// disable <b> wrapping of matched substring
diff --git a/js/field.js b/js/field.js
index 04633baaa..d37edde01 100644
--- a/js/field.js
+++ b/js/field.js
@@ -813,7 +813,7 @@ $(function() {
tabDisabled: true,
delimiter: /,\s*/,
minChars: 0,
- autoSelectFirst: true,
+ autoSelectFirst: false,
triggerSelectOnValidInput: false,
formatResult: function(suggestion, currentValue) {
// disable <b> wrapping of matched substring