diff options
author | Richard Worth <rdworth@gmail.com> | 2008-11-21 04:17:19 +0000 |
---|---|---|
committer | Richard Worth <rdworth@gmail.com> | 2008-11-21 04:17:19 +0000 |
commit | 8ab19f209a8effbbd5ee4d1cba2a49ca8e6672b6 (patch) | |
tree | 4d18e78c1207a0868937b2536aa3b57874699d17 /ui | |
parent | 89a113ba196ff283b8577753838c222d66f3d53b (diff) | |
download | jquery-ui-8ab19f209a8effbbd5ee4d1cba2a49ca8e6672b6.tar.gz jquery-ui-8ab19f209a8effbbd5ee4d1cba2a49ca8e6672b6.zip |
dialog: formatting changes
Diffstat (limited to 'ui')
-rw-r--r-- | ui/ui.dialog.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ui/ui.dialog.js b/ui/ui.dialog.js index 923fdf49c..83d144fc0 100644 --- a/ui/ui.dialog.js +++ b/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); }, |