зеркало из https://github.com/mozilla/gecko-dev.git
reload the message pane whenever we toggle a message as junk or not junk.
This commit is contained in:
Родитель
c1dedd6e7f
Коммит
05ca30b3cf
|
@ -1928,9 +1928,10 @@ function HandleJunkStatusChanged(folder)
|
|||
var sanitizeJunkMail = gPrefs.getBoolPref("mailnews.display.sanitizeJunkMail");
|
||||
if (sanitizeJunkMail) // only bother doing this if we are modifying the html for junk mail....
|
||||
{
|
||||
var junkScore = msgHdr.getStringProperty("junkscore");
|
||||
if ((junkScore == "") || (junkScore == "0"))
|
||||
MsgReload();
|
||||
// we used to only reload the message if we were toggling the message to NOT JUNK from junk
|
||||
// but it can be useful to see the HTML in the message get converted to sanitized form when a message
|
||||
// is marked as junk.
|
||||
MsgReload();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче