From b5e67861bb552c39bb76b13382a052701e4649e5 Mon Sep 17 00:00:00 2001 From: Richard Worth Date: Mon, 28 Mar 2011 11:13:53 -0400 Subject: [PATCH] Autocomplete: changed autoFocus default back to false. Reverts #7042 - Autocomplete: Default autoFocus to true --- tests/unit/autocomplete/autocomplete_defaults.js | 2 +- ui/jquery.ui.autocomplete.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/unit/autocomplete/autocomplete_defaults.js b/tests/unit/autocomplete/autocomplete_defaults.js index e2196ea9e..dd5007089 100644 --- a/tests/unit/autocomplete/autocomplete_defaults.js +++ b/tests/unit/autocomplete/autocomplete_defaults.js @@ -4,7 +4,7 @@ var autocomplete_defaults = { appendTo: "body", - autoFocus: true, + autoFocus: false, delay: 300, disabled: false, minLength: 1, diff --git a/ui/jquery.ui.autocomplete.js b/ui/jquery.ui.autocomplete.js index ca06fff65..1685c0652 100644 --- a/ui/jquery.ui.autocomplete.js +++ b/ui/jquery.ui.autocomplete.js @@ -22,7 +22,7 @@ $.widget( "ui.autocomplete", { defaultElement: "", options: { appendTo: "body", - autoFocus: true, + autoFocus: false, delay: 300, minLength: 1, position: { -- 2.39.5