From 29bfb86ce2e192dae456bf15655c25cb469ad977 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Scott=20Gonz=C3=A1lez?= Date: Sun, 23 Jan 2011 17:55:53 -0500 Subject: [PATCH] All: Define defaultElement for non-div widgets. --- ui/jquery.ui.autocomplete.js | 1 + ui/jquery.ui.button.js | 1 + ui/jquery.ui.menu.js | 1 + ui/jquery.ui.spinner.js | 1 + 4 files changed, 4 insertions(+) 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: "