Skip to content

Commit

Permalink
dialog: formatting changes
Browse files Browse the repository at this point in the history
  • Loading branch information
rdworth committed Nov 21, 2008
1 parent 89a113b commit 8ab19f2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ui/ui.dialog.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ var setDataSwitch = {
};

$.widget("ui.dialog", {

_init: function() {
this.originalTitle = this.element.attr('title');
this.options.title = this.options.title || this.originalTitle;
Expand Down Expand Up @@ -398,6 +399,7 @@ $.widget("ui.dialog", {
content.height(container.height() - titlebar.outerHeight() - tbMargin);
content.width(container.width() - lrMargin);
}

});

$.extend($.ui.dialog, {
Expand All @@ -424,6 +426,7 @@ $.extend($.ui.dialog, {
getter: 'isOpen',

uuid: 0,

getTitleId: function($el) {
return 'ui-dialog-title-' + ($el.attr('id') || ++this.uuid);
},
Expand Down

0 comments on commit 8ab19f2

Please sign in to comment.