mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-22 02:09:28 +00:00
fix removing pre-tag labels, sr=mscott 342214
This commit is contained in:
parent
b367a2c095
commit
f23ece1b7b
@ -608,7 +608,9 @@ function InitMessageTags(menuType)
|
||||
var newMenuItem;
|
||||
|
||||
var curMsgHdrKeyArray = curKeys.split(" ");
|
||||
|
||||
if (msgHdr.label != 0)
|
||||
curMsgHdrKeyArray.push("$label" + msgHdr.label);
|
||||
|
||||
while (allTags.hasMore())
|
||||
{
|
||||
var tag = allTags.getNext();
|
||||
|
@ -5308,7 +5308,7 @@ NS_IMETHODIMP nsMsgDBFolder::RemoveKeywordFromMessages(nsISupportsArray *aMessag
|
||||
{
|
||||
nsMsgLabelValue labelValue;
|
||||
message->GetLabel(&labelValue);
|
||||
if (labelValue == aKeyword[6])
|
||||
if (labelValue == aKeyword[6] - '0')
|
||||
message->SetLabel(0);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user