From 6654ba32cbc755d426e040bed3ef67d2eb2eab2d Mon Sep 17 00:00:00 2001 From: "sspitzer%netscape.com" Date: Wed, 28 Mar 2001 07:06:22 +0000 Subject: [PATCH] #73551, fix js warnings. r=hwaara, sr=bienvenu git-svn-id: svn://10.0.0.236/trunk@90641 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/mailnews/base/resources/content/msgMail3PaneWindow.js | 2 -- mozilla/mailnews/base/resources/content/msgViewNavigation.js | 4 ++-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/mozilla/mailnews/base/resources/content/msgMail3PaneWindow.js b/mozilla/mailnews/base/resources/content/msgMail3PaneWindow.js index 4bb38d5cf50..2db3b911c84 100644 --- a/mozilla/mailnews/base/resources/content/msgMail3PaneWindow.js +++ b/mozilla/mailnews/base/resources/content/msgMail3PaneWindow.js @@ -203,7 +203,6 @@ function HandleDeleteOrMoveMsgCompleted(folder) // as the last index we had selected, the outliner isn't generating a new // selectionChanged notification for the outliner view. So we aren't loading the // next message. to fix this, force the selection changed update. - var outlinerView = gDBView.QueryInterface(Components.interfaces.nsIOutlinerView); if (outlinerView) outlinerView.selectionChanged(); EnsureRowInThreadOutlinerIsVisible(gNextMessageViewIndexAfterDelete); @@ -218,7 +217,6 @@ function HandleDeleteOrMoveMsgCompleted(folder) } } - function IsCurrentLoadedFolder(folder) { var msgfolder = folder.QueryInterface(Components.interfaces.nsIMsgFolder); diff --git a/mozilla/mailnews/base/resources/content/msgViewNavigation.js b/mozilla/mailnews/base/resources/content/msgViewNavigation.js index 87f0a8690e9..aed620c018a 100644 --- a/mozilla/mailnews/base/resources/content/msgViewNavigation.js +++ b/mozilla/mailnews/base/resources/content/msgViewNavigation.js @@ -95,7 +95,7 @@ function CrossFolderNavigation (type, supportsFolderPane ) if (type != nsMsgNavigationType.nextUnreadMessage) { // only do cross folder navigation for "next unread message" - return nsnull; + return null; } var nextMode = pref.GetIntPref("mailnews.nav_crosses_folders"); @@ -104,7 +104,7 @@ function CrossFolderNavigation (type, supportsFolderPane ) // 2: "next" does nothing when there are no unread messages // not crossing folders, don't find next - if (nextMode == 2) return; + if (nextMode == 2) return null; var originalFolderURI = gDBView.msgFolder.URI; var nextFolderURI = null;