Skip to content
Permalink
Browse files

Partial fix for #2538 - still need to add support for options

  • Loading branch information
rdworth committed Jun 9, 2008
1 parent cecc483 commit 44aeb0e63652f84c40058c35c4945938ebe52a8b
Showing with 2 additions and 2 deletions.
  1. +2 −2 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;

0 comments on commit 44aeb0e

Please sign in to comment.
You can’t perform that action at this time.