]> source.dussan.org Git - jquery-ui.git/commitdiff
Dialog: Fixed #3013: Force dialog titlebars to have a full line height when no title...
authorScott González <scott.gonzalez@gmail.com>
Fri, 11 Jul 2008 00:44:33 +0000 (00:44 +0000)
committerScott González <scott.gonzalez@gmail.com>
Fri, 11 Jul 2008 00:44:33 +0000 (00:44 +0000)
ui/ui.dialog.js

index 7a80ad7e1ba781f291afa70502d62560050407b8..72091e89d01c47d5fceef63d117dae6a5405f8bd 100644 (file)
@@ -48,7 +48,7 @@ $.widget("ui.dialog", {
                                        height: '100%'
                                }),
                        
-                       title = options.title || uiDialogContent.attr('title') || '',
+                       title = options.title || uiDialogContent.attr('title') || '&nbsp;',
                        uiDialogTitlebar = (this.uiDialogTitlebar =
                                $('<div class="ui-dialog-titlebar"/>'))
                                .append('<span class="ui-dialog-title">' + title + '</span>')