]> source.dussan.org Git - jquery-ui.git/commitdiff
Autocomplete: changed autoFocus default back to false. Reverts #7042 - Autocomplete...
authorRichard Worth <rdworth@gmail.com>
Mon, 28 Mar 2011 15:13:53 +0000 (11:13 -0400)
committerRichard Worth <rdworth@gmail.com>
Mon, 28 Mar 2011 15:13:53 +0000 (11:13 -0400)
tests/unit/autocomplete/autocomplete_defaults.js
ui/jquery.ui.autocomplete.js

index e2196ea9ea1edd422140e8a22b9d0c114fec345a..dd5007089c630d95d218c4c991853059dde2736a 100644 (file)
@@ -4,7 +4,7 @@
 
 var autocomplete_defaults = {
        appendTo: "body",
-       autoFocus: true,
+       autoFocus: false,
        delay: 300,
        disabled: false,
        minLength: 1,
index ca06fff65846d7368a51b846b8f78af1092430da..1685c0652369d98fba94d8014cb9af25c372fea1 100644 (file)
@@ -22,7 +22,7 @@ $.widget( "ui.autocomplete", {
        defaultElement: "<input>",
        options: {
                appendTo: "body",
-               autoFocus: true,
+               autoFocus: false,
                delay: 300,
                minLength: 1,
                position: {