mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-02 01:48:05 +00:00
Bug #254474 --> Fix a regression when using quick search on message bodies for POP3 accounts.
This commit is contained in:
parent
dfefe5119f
commit
6de4b3f3d8
@ -348,7 +348,10 @@ function createSearchTermsWithList(aTermsArray)
|
||||
var ioService = Components.classes["@mozilla.org/network/io-service;1"]
|
||||
.getService(Components.interfaces.nsIIOService);
|
||||
|
||||
gSearchSession.addScopeTerm(gSearchInput.searchMode == kQuickSearchBody && !ioService.offline ? nsMsgSearchScope.onlineMail : nsMsgSearchScope.offlineMail, selectedFolder);
|
||||
gSearchSession.addScopeTerm(gSearchInput.searchMode == kQuickSearchBody &&
|
||||
!ioService.offline &&
|
||||
selectedFolder.server.type == 'imap' ? nsMsgSearchScope.onlineMail : nsMsgSearchScope.offlineMail,
|
||||
selectedFolder);
|
||||
|
||||
// add each item in termsArray to the search session
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user