Dialog: Fixed #3013: Force dialog titlebars to have a full line height when no title is provided.

This commit is contained in:
Scott González 2008-07-11 00:44:33 +00:00
parent c5352d82b5
commit bb0cac9cb9

View File

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