Skip to content
Permalink
Browse files

dialog: formatting changes

  • Loading branch information
rdworth committed Nov 21, 2008
1 parent 89a113b commit 8ab19f209a8effbbd5ee4d1cba2a49ca8e6672b6
Showing with 3 additions and 0 deletions.
  1. +3 −0 ui/ui.dialog.js
@@ -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;
@@ -398,6 +399,7 @@ $.widget("ui.dialog", {
content.height(container.height() - titlebar.outerHeight() - tbMargin);
content.width(container.width() - lrMargin);
}

});

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

uuid: 0,

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

0 comments on commit 8ab19f2

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