From 57159546d9a1e9e72305d4c73d56ea69eb3eacf5 Mon Sep 17 00:00:00 2001 From: "neil%parkwaycc.co.uk" Date: Mon, 3 Jan 2005 17:54:49 +0000 Subject: [PATCH] Bug 276812 Fix message filter refresh (regression from bug 271696) p=mark@standard8.demon.co.uk r=me sr=bienvenu --- mail/base/content/mailWindowOverlay.js | 2 +- mailnews/base/resources/content/mailWindowOverlay.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mail/base/content/mailWindowOverlay.js b/mail/base/content/mailWindowOverlay.js index 56515afd543a..6c67c598f35a 100644 --- a/mail/base/content/mailWindowOverlay.js +++ b/mail/base/content/mailWindowOverlay.js @@ -1432,7 +1432,7 @@ function MsgFilters(emailAddress, folder) we check this here in args to show filterList dialog */ if ("refresh" in args && args.refresh) { - args = { refresh: true, folder: preselectedFolder }; + args = { refresh: true, folder: folder }; MsgFilterList(args); } } diff --git a/mailnews/base/resources/content/mailWindowOverlay.js b/mailnews/base/resources/content/mailWindowOverlay.js index 8c24432be348..0d40fa4cabf2 100644 --- a/mailnews/base/resources/content/mailWindowOverlay.js +++ b/mailnews/base/resources/content/mailWindowOverlay.js @@ -1401,7 +1401,7 @@ function MsgFilters(emailAddress, folder) we check this here in args to show filterList dialog */ if ("refresh" in args && args.refresh) { - args = { refresh: true, folder: preselectedFolder }; + args = { refresh: true, folder: folder }; MsgFilterList(args); } }