rem: if (gSearchInput.searchMode == kQuickSearchHighlight) highlightMessage(true); else { initializeSearchBar(); 
add: initializeSearchBar(); 
context: function onEnterInSearchBar(){   if (!gSearchInput || gSearchInput.value == "" || gSearchInput.showingSearchCriteria)    {     if (gSearchInput && gSearchInput.searchMode == kQuickSearchHighlight)       removeHighlighting();        if (gDBView.viewType == nsMsgViewType.eShowQuickSearchResults         || gDBView.viewType == nsMsgViewType.eShowVirtualFolderResults)     {       statusFeedback.showStatusString("");       viewDebug ("onEnterInSearchBar gDefaultSearchViewTerms = " + gDefaultSearchViewTerms + "gVirtualFolderTerms = "         + gVirtualFolderTerms + "gXFVirtualFolderTerms = " + gXFVirtualFolderTerms + "\n");       var addTerms = gDefaultSearchViewTerms || gVirtualFolderTerms || gXFVirtualFolderTerms;       if (addTerms)       {           viewDebug ("addTerms = " + addTerms + " count = " + addTerms.Count() + "\n");           initializeSearchBar();           onSearch(addTerms);       }       else        restorePreSearchView();     }     else if (gPreQuickSearchView && !gDefaultSearchViewTerms)// may be a quick search from a cross-folder virtual folder      restorePreSearchView();          if (gSearchInput)       gSearchInput.showingSearchCriteria = true;        gQSViewIsDirty = false;     return;   }   if (gSearchInput.searchMode == kQuickSearchHighlight)     highlightMessage(true);   else   {     initializeSearchBar();     ClearThreadPaneSelection();     ClearMessagePane();     onSearch(null);     gQSViewIsDirty = false;  }}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/8fae567700dff9bacc0ff6ab8ee222df69b72497/searchBar.js/clean/mail/base/content/searchBar.js