ui.dialog: replaced   with   for xhtml compliance (fixes #4970 -XHTML Compliance :   should be  )

This commit is contained in:
Andrew Powell 2009-11-21 16:59:08 +00:00
parent 3cc921dd3d
commit 0225029288

View File

@ -35,7 +35,7 @@ $.widget("ui.dialog", {
var self = this,
options = self.options,
title = options.title || self.originalTitle || ' ',
title = options.title || self.originalTitle || ' ',
titleId = $.ui.dialog.getTitleId(self.element),
uiDialog = (self.uiDialog = $('<div></div>'))
@ -477,7 +477,7 @@ $.widget("ui.dialog", {
break;
case "title":
// convert whatever was passed in o a string, for html() to not throw up
$(".ui-dialog-title", self.uiDialogTitlebar).html("" + (value || '&nbsp;'));
$(".ui-dialog-title", self.uiDialogTitlebar).html("" + (value || '&#160;'));
break;
case "width":
resize = true;