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;