rem: if (gSearchInput.value == "") 
add: if (gSearchInput.value == "" || gSearchInput.showingSearchCriteria) { 
context: function changeQuickSearchMode(aMenuItem){  viewDebug("changing quick search mode\n");  // extract the label and set the search input to match it  var oldSearchMode = gSearchInput.searchMode;  gSearchInput.searchMode = aMenuItem.value;  if (gSearchInput.value == "")    gSearchInput.showingSearchCriteria = true;  else if (oldSearchMode != gSearchInput.searchMode) // the search mode just changed so we need to redo the quick search  {    if (gHighlightedMessageText)      removeHighlighting(); // remove any existing highlighting in the message before switching gears          onEnterInSearchBar();  }}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/2d678c68c7d976b2db2febcd3fefe06dd83e120a/searchBar.js/clean/mail/base/content/searchBar.js