rem: if (!matchAllValue && searchTerms.hidden) 
add: if (!matchAllValue && searchTerms.hidden && !gTotalSearchTerms) 
context: function booleanChanged(event) {    // when boolean changes, we have to update all the attributes on the search terms    var newBoolValue = (event.target.getAttribute("value") == "and") ? true : false;    var matchAllValue = (event.target.getAttribute("value") == "matchAll") ? true : false;    if (document.getElementById("abPopup")) {      var selectedAB = document.getElementById("abPopup").selectedItem.id;      setSearchScope(GetScopeForDirectoryURI(selectedAB));    }    for (var i=0; i<gSearchTerms.length; i++) {        var searchTerm = gSearchTerms[i].obj;        searchTerm.booleanAnd = newBoolValue;        searchTerm.matchAll = matchAllValue;    }    var searchTerms = document.getElementById("searchTermList");    if (searchTerms)    {      if (!matchAllValue && searchTerms.hidden)        onMore(null); // fake to get empty row.      searchTerms.hidden = matchAllValue;    }}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/0b922001353fa5b7b8f87c635114b54c8e329ef1/searchTermOverlay.js/buggy/mailnews/base/search/resources/content/searchTermOverlay.js