aboutsummaryrefslogtreecommitdiffstats
path: root/ui/jquery.ui.dialog.js
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2010-12-10 14:31:36 -0500
committerScott González <scott.gonzalez@gmail.com>2010-12-10 14:31:36 -0500
commitb42125af4350eda14a6b15bb71f8dd336858fbd8 (patch)
treed79dde84caffa26758aceffce56507439e3361cf /ui/jquery.ui.dialog.js
parent9ad2a4b1ccebb32cc745be3ef85a4b634e416ff8 (diff)
downloadjquery-ui-b42125af4350eda14a6b15bb71f8dd336858fbd8.tar.gz
jquery-ui-b42125af4350eda14a6b15bb71f8dd336858fbd8.zip
Dialog: Removed handling of deprecated beforeclose option. Fixes #5100 - Dialog: remove deprecated dialog option beforeclose.
Diffstat (limited to 'ui/jquery.ui.dialog.js')
-rw-r--r--ui/jquery.ui.dialog.js13
1 files changed, 0 insertions, 13 deletions
diff --git a/ui/jquery.ui.dialog.js b/ui/jquery.ui.dialog.js
index 81df1d19b..5c1504aeb 100644
--- a/ui/jquery.ui.dialog.js
+++ b/ui/jquery.ui.dialog.js
@@ -171,13 +171,6 @@ $.widget("ui.dialog", {
.html(title)
.prependTo(uiDialogTitlebar);
- //handling of deprecated beforeclose (vs beforeClose) option
- //Ticket #4669 http://dev.jqueryui.com/ticket/4669
- //TODO: remove in 1.9pre
- if ($.isFunction(options.beforeclose) && !$.isFunction(options.beforeClose)) {
- options.beforeClose = options.beforeclose;
- }
-
uiDialogTitlebar.find("*").add(uiDialogTitlebar).disableSelection();
if (options.draggable && $.fn.draggable) {
@@ -563,12 +556,6 @@ $.widget("ui.dialog", {
uiDialog = self.uiDialog;
switch (key) {
- //handling of deprecated beforeclose (vs beforeClose) option
- //Ticket #4669 http://dev.jqueryui.com/ticket/4669
- //TODO: remove in 1.9pre
- case "beforeclose":
- key = "beforeClose";
- break;
case "buttons":
self._createButtons(value);
break;