diff --git a/suite/mailnews/content/mailWindow.js b/suite/mailnews/content/mailWindow.js index c8f11536b3..1eb7c9bbe0 100644 --- a/suite/mailnews/content/mailWindow.js +++ b/suite/mailnews/content/mailWindow.js @@ -30,9 +30,6 @@ var gAccountCentralLoaded = true; var gOfflineManager; -// cache the last keywords -var gLastKeywords = ""; - function OnMailWindowUnload() { RemoveMailOfflineObserver(); @@ -627,46 +624,6 @@ function GetSearchSession() return null; } -function SetKeywords(aKeywords) -{ - // we cache the last keywords. - // if there is no chagne, we do nothing. - // most of the time, this will be the case. - if (aKeywords == gLastKeywords) - return; - - // these are the UI elements who care about keywords - var elements = document.getElementsByAttribute("keywordrelated","true"); - var len = elements.length; - for (var i=0; i - + - + @@ -146,7 +146,9 @@ @@ -158,13 +160,15 @@ - + - + @@ -176,39 +180,51 @@ - + - + - + - - + + - + - + - +