mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-15 06:15:43 +00:00
Bug 371647 ConvertToUnicode in mailWidgets.xml fails at initializing the notification r+sr=mscott
This commit is contained in:
parent
450988d519
commit
107230068c
@ -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 = {};
|
||||
|
Loading…
Reference in New Issue
Block a user