Bug 341436: Address Neil's review nit

This commit is contained in:
ajschult%verizon.net 2006-07-02 00:39:32 +00:00
parent 90d29fd7ea
commit 5801c98c4e

View File

@ -862,6 +862,7 @@ function IsCanSearchMessagesEnabled()
var folderURI = GetSelectedFolderURI();
if (!folderURI)
return false;
var folder = GetMsgFolderFromUri(folderURI, false);
var isVirtualFolder = folder.flags & MSG_FOLDER_FLAG_VIRTUAL;
return folder.server.canSearchMessages && !isVirtualFolder;