From 239a230202589defa2d0ffdb51e99d4ea3188267 Mon Sep 17 00:00:00 2001 From: "alecf%netscape.com" Date: Wed, 10 May 2000 22:35:02 +0000 Subject: [PATCH] Filter editor updates: - add stub folder picker for move actions - add columns in the tree for i18n to insert strings - fix searchterm so that it actually refreshes each row --- .../search/resources/content/FilterEditor.js | 49 +++++++--------- .../search/resources/content/FilterEditor.xul | 56 +++++++++++++++---- 2 files changed, 64 insertions(+), 41 deletions(-) diff --git a/mailnews/base/search/resources/content/FilterEditor.js b/mailnews/base/search/resources/content/FilterEditor.js index bbcec74d5d1c..8054697c985d 100644 --- a/mailnews/base/search/resources/content/FilterEditor.js +++ b/mailnews/base/search/resources/content/FilterEditor.js @@ -77,9 +77,13 @@ function initializeDialog(filter) var filterName = document.getElementById("filterName"); filterName.value = filter.filterName; + var actionElement = document.getElementById("actionMenu"); + actionElement.selectedItem=actionElement.getElementsByAttribute("data", filter.action)[0]; + + // now test by initializing the psuedo var searchTerm = document.getElementById("searchTerm"); - + var scope = getScope(filter); var filterRowContainer = document.getElementById("filterTermList"); var numTerms = filter.numTerms; for (var i=0; i