aboutsummaryrefslogtreecommitdiffstats
path: root/ui/ui.dialog.js
diff options
context:
space:
mode:
authorRichard Worth <rdworth@gmail.com>2008-06-09 12:21:50 +0000
committerRichard Worth <rdworth@gmail.com>2008-06-09 12:21:50 +0000
commit44aeb0e63652f84c40058c35c4945938ebe52a8b (patch)
treec064fd79b68b71b0f656d7ba379023c3f18d3c8a /ui/ui.dialog.js
parentcecc4838a28b07a2bbff0e9daed1b3da80cfaa04 (diff)
downloadjquery-ui-44aeb0e63652f84c40058c35c4945938ebe52a8b.tar.gz
jquery-ui-44aeb0e63652f84c40058c35c4945938ebe52a8b.zip
Partial fix for #2538 - still need to add support for options
Diffstat (limited to 'ui/ui.dialog.js')
-rw-r--r--ui/ui.dialog.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/ui.dialog.js b/ui/ui.dialog.js
index 03f4191e1..4418edbfc 100644
--- a/ui/ui.dialog.js
+++ b/ui/ui.dialog.js
@@ -229,7 +229,7 @@ $.widget("ui.dialog", {
this.overlay = this.options.modal ? new $.ui.dialog.overlay(this) : null;
this.uiDialog.appendTo('body');
this.position(this.options.position);
- this.uiDialog.show();
+ this.uiDialog.show(this.options.show);
this.moveToTop(true);
// CALLBACK: open
@@ -256,7 +256,7 @@ $.widget("ui.dialog", {
close: function() {
(this.overlay && this.overlay.destroy());
- this.uiDialog.hide();
+ this.uiDialog.hide(this.options.hide);
// CALLBACK: close
var closeEV = null;