From 6b6c2975193b2223a3bdc3a40a9047fbf4010cfa Mon Sep 17 00:00:00 2001 From: "neil%parkwaycc.co.uk" Date: Sat, 15 May 2004 23:27:58 +0000 Subject: [PATCH] Bug 241215 Make File/Open File work from standalone message window r/sr=mscott --- mail/base/content/messageWindow.js | 5 +++++ mailnews/base/resources/content/messageWindow.js | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/mail/base/content/messageWindow.js b/mail/base/content/messageWindow.js index 421069c5fdcf..36972fc7e95d 100644 --- a/mail/base/content/messageWindow.js +++ b/mail/base/content/messageWindow.js @@ -551,6 +551,11 @@ function GetLoadedMsgFolder() return null; } +function GetSelectedFolderURI() +{ + return gCurrentFolderUri; +} + function GetLoadedMessage() { return gCurrentMessageUri; diff --git a/mailnews/base/resources/content/messageWindow.js b/mailnews/base/resources/content/messageWindow.js index ef61614b12ce..d2c2125a3264 100644 --- a/mailnews/base/resources/content/messageWindow.js +++ b/mailnews/base/resources/content/messageWindow.js @@ -546,6 +546,11 @@ function GetLoadedMsgFolder() return null; } +function GetSelectedFolderURI() +{ + return gCurrentFolderUri; +} + function GetLoadedMessage() { return gCurrentMessageUri;