Skip to content

Commit

Permalink
dialog: added some missing defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
rdworth committed Feb 9, 2009
1 parent ff39982 commit 176b2d2
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tests/unit/dialog/dialog_defaults.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,15 @@ var dialog_defaults = {
dialogClass: '',
draggable: true,
height: 'auto',
maxHeight: undefined,
maxWidth: undefined,
hide: null,
maxHeight: false,
maxWidth: false,
minHeight: 150,
minWidth: 150,
modal: false,
position: 'center',
resizable: true,
show: null,
stack: true,
title: '',
width: 300,
Expand Down
4 changes: 4 additions & 0 deletions ui/ui.dialog.js
Original file line number Diff line number Diff line change
Expand Up @@ -484,12 +484,16 @@ $.extend($.ui.dialog, {
closeText: 'close',
dialogClass: '',
draggable: true,
hide: null,
height: 'auto',
maxHeight: false,
maxWidth: false,
minHeight: 150,
minWidth: 150,
modal: false,
position: 'center',
resizable: true,
show: null,
stack: true,
title: '',
width: 300,
Expand Down

0 comments on commit 176b2d2

Please sign in to comment.