From 58ae7ce2fd20fb865c9087fb2eae0dbdb39fc9a7 Mon Sep 17 00:00:00 2001 From: Scott González Date: Fri, 30 Jul 2010 12:38:18 -0400 Subject: Revert "Use pushStack in widget method. Fixes #5732 - make the widget method maintain the stack" This reverts commit ea58cd5ac0d852a9c7d7ceadbcbb74006cf9052d. --- ui/jquery.ui.dialog.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ui/jquery.ui.dialog.js') diff --git a/ui/jquery.ui.dialog.js b/ui/jquery.ui.dialog.js index 0122ce905..df11e2190 100644 --- a/ui/jquery.ui.dialog.js +++ b/ui/jquery.ui.dialog.js @@ -207,7 +207,7 @@ $.widget("ui.dialog", { }, widget: function() { - return this.element.pushStack(this.uiDialog.get()); + return this.uiDialog; }, close: function(event) { -- cgit v1.2.3