From 37c8348809d52089066eec6ac95c4e1c84db76b3 Mon Sep 17 00:00:00 2001 From: "stephend%netscape.com" Date: Thu, 20 Sep 2001 04:13:42 +0000 Subject: [PATCH] Bug 58567. JavaScript strict warnings (re-declarations). r=walk84@usa.net/naving@netscape.com, sr=hewitt@netscape.com git-svn-id: svn://10.0.0.236/trunk@103271 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/mailnews/base/resources/content/subscribe.js | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/mozilla/mailnews/base/resources/content/subscribe.js b/mozilla/mailnews/base/resources/content/subscribe.js index 0845b62d66a..0f46102d269 100644 --- a/mozilla/mailnews/base/resources/content/subscribe.js +++ b/mozilla/mailnews/base/resources/content/subscribe.js @@ -358,19 +358,21 @@ function ReverseStateFromRow(row) } function SetSubscribeState(state) -{ + +{ var i, name; try { if (InSearchMode()) { // if we are in "search" mode, we need to iterate over the // outliner selection, and set the state for all elements // in the selection + var outlinerSelection = gSearchView.selection; - for (var i=0;i