зеркало из https://github.com/mozilla/pjs.git
Bug #254474 --> Fix a regression when using quick search on message bodies for POP3 accounts.
This commit is contained in:
Родитель
2462f14018
Коммит
b2657c781f
|
@ -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
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче