rem: gSearchInput.showingSearchCriteria = true; 
context: function onEnterInSearchBar(){//  dump ("onEnterInSearchBar gSearchInput.value = " + gSearchInput.value + " showing criteria = " + gSearchInput.showingSearchCriteria +"\n");   if (gSearchInput.value == "" || gSearchInput.showingSearchCriteria)    {          if (gDBView.viewType == nsMsgViewType.eShowQuickSearchResults         || gDBView.viewType == nsMsgViewType.eShowVirtualFolderResults)     {       statusFeedback.showStatusString("");       disableQuickSearchClearButton();//       dump ("onEnterInSearchBar gDefaultSearchViewTerms = " + gDefaultSearchViewTerms + "gVirtualFolderTerms = " //        + gVirtualFolderTerms + "gXFVirtualFolderTerms = " + gXFVirtualFolderTerms + "\n");       var addTerms = gDefaultSearchViewTerms || gVirtualFolderTerms || gXFVirtualFolderTerms;       if (addTerms)       {//           dump ("addTerms = " + addTerms + " count = " + addTerms.Count() + "\n");           initializeSearchBar();           onSearch(addTerms);       }       else if (gPreQuickSearchView)        restorePreSearchView();     }     else if (gPreQuickSearchView && !gDefaultSearchViewTerms)// maybe a quick search from a cross-folder virtual folder      restorePreSearchView();          gSearchInput.showingSearchCriteria = true;          gQSViewIsDirty = false;     return;   }   initializeSearchBar();   if (gClearButton)    gClearButton.setAttribute("disabled", false); //coming into search enable clear button      ClearThreadPaneSelection();   ClearMessagePane();   onSearch(null);   gQSViewIsDirty = false;}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/d3ff710e0f5b10b704bec27d02603e060445cb61/searchBar.js/buggy/mailnews/base/resources/content/searchBar.js