Skip to content
Browse files

Dialog: Updated test for default position option. QUnit still fails t…

…he test though.
  • Loading branch information
scottgonzalez committed Jul 14, 2010
1 parent 6de9a53 commit 96e78a2cb7968fead62cfebd7640d3b96246f8dd
Showing with 13 additions and 1 deletion.
  1. +13 −1 tests/unit/dialog/dialog_defaults.js
@@ -17,7 +17,19 @@ var dialog_defaults = {
minHeight: 150,
minWidth: 150,
modal: false,
position: 'center',
position: {
my: 'center',
at: 'center',
of: window,
collision: 'fit',
// ensure that the titlebar is never outside the document
using: function(pos) {
var topOffset = $(this).css(pos).offset().top;
if (topOffset < 0) {
$(this).css('top', - topOffset);
resizable: true,
show: null,
stack: true,

2 comments on commit 96e78a2


This comment has been minimized.

Copy link

@jonspalmer jonspalmer replied Jul 17, 2010

I have a fix for this test framework that will fix this failing test. I'll put it up and send the pull request soon.


This comment has been minimized.

Copy link

@jzaefferer jzaefferer replied Jul 17, 2010

@bostanio: Send requests about QUnit to

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