diff --git a/mailnews/base/search/resources/content/FilterEditor.js b/mailnews/base/search/resources/content/FilterEditor.js index a0b9cdc656d..7ed24e23881 100644 --- a/mailnews/base/search/resources/content/FilterEditor.js +++ b/mailnews/base/search/resources/content/FilterEditor.js @@ -83,6 +83,17 @@ function setSearchScope(scope) { } function booleanChanged(event) { + // when boolean changes, we have to update all the attributes on the + // filter terms + + var newBoolValue = + (event.target.getAttribute("data") == "and") ? true : false; + searchTermElements = gSearchTermContainer.childNodes; + if (!searchTermElements) return; + for (var i=0; i - - - + + +