Bug 371647 ConvertToUnicode in mailWidgets.xml fails at initializing the notification r+sr=mscott

This commit is contained in:
masayuki%d-toybox.com 2007-02-27 13:02:17 +00:00
Родитель 450988d519
Коммит 107230068c
1 изменённых файлов: 11 добавлений и 3 удалений

Просмотреть файл

@ -2114,9 +2114,17 @@
msgPopup.setAttribute('subject', msgSubject);
var previewText = msgHdr.getStringProperty('preview');
// convert the preview text from utf-8 to unicode
if (previewText)
msgPopup.setAttribute('previewText', unicodeConverter.ConvertToUnicode(previewText));
// convert the preview text from utf-8 to unicode
if (previewText)
{
try
{
var text = unicodeConverter.ConvertToUnicode(previewText);
if (text)
msgPopup.setAttribute('previewText', text);
}
catch (ex) { }
}
var names = {};
var emails = {};