From: Scott González Date: Sun, 23 Jan 2011 22:55:53 +0000 (-0500) Subject: All: Define defaultElement for non-div widgets. X-Git-Tag: 1.9m4~38^2~21 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=29bfb86ce2e192dae456bf15655c25cb469ad977;p=jquery-ui.git All: Define defaultElement for non-div widgets. --- diff --git a/ui/jquery.ui.autocomplete.js b/ui/jquery.ui.autocomplete.js index 1342f7648..e62ea93fe 100644 --- a/ui/jquery.ui.autocomplete.js +++ b/ui/jquery.ui.autocomplete.js @@ -16,6 +16,7 @@ (function( $, undefined ) { $.widget( "ui.autocomplete", { + defaultElement: "", options: { appendTo: "body", delay: 300, diff --git a/ui/jquery.ui.button.js b/ui/jquery.ui.button.js index b1d060a42..8f63ec57a 100644 --- a/ui/jquery.ui.button.js +++ b/ui/jquery.ui.button.js @@ -43,6 +43,7 @@ var lastActive, }; $.widget( "ui.button", { + defaultElement: "