rem: onTagsChange(); 
add: OnTagsChange(); 
context: function RemoveAllMessageTags(){  var selectedMsgUris = GetSelectedMessages();  if (!selectedMsgUris.length)    return;      var msg = Components.classes["@mozilla.org/supports-array;1"]                          .createInstance(Components.interfaces.nsISupportsArray);                            for (var i = 0; i < selectedMsgUris.length; ++i)  {    // remove all tags by removing all their tag keys, all at once.    // (using a msgHdr's setStringProperty won't notify the threadPane!)    var msgHdr = messenger.msgHdrFromURI(selectedMsgUris[i]);    msgHdr.label = 0; // remove legacy label    msg.Clear();    msg.AppendElement(msgHdr);        var keywords = msgHdr.getStringProperty("keywords");    // this will remove all keywords at once...    if (keywords.length > 0)      msgHdr.folder.removeKeywordFromMessages(msg, keywords);  }  onTagsChange();}
meta: 5459	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5459/18bb702c9911eb89631b019501a606940d4bda18/mailWindowOverlay.js/buggy/mail/base/content/mailWindowOverlay.js