Dialog: Fixed whitespace.

This commit is contained in:
Scott González 2010-07-16 08:54:50 -04:00
parent 2366a81740
commit 4ad7154bee

View File

@ -59,6 +59,7 @@ $.widget("ui.dialog", {
width: 300,
zIndex: 1000
},
_create: function() {
this.originalTitle = this.element.attr('title');
// #5742 - .attr() might return a DOMElement
@ -177,6 +178,7 @@ $.widget("ui.dialog", {
uiDialog.bgiframe();
}
},
_init: function() {
if ( this.options.autoOpen ) {
this.open();
@ -461,7 +463,6 @@ $.widget("ui.dialog", {
}
},
_position: function(position) {
var myAt = [],
offset = [0, 0],