Bug 436044 - Queye typo, r+sr=neil
authorPhil Ringnalda <philringnalda@gmail.com>
Mon, 15 Dec 2008 15:58:00 -0800
changeset 1423 61e6bf1082ce91d55301e9036ea78b237d36942d
parent 1422 be54a61c48372ed8044c8d2af6aafd85218f0bf6
child 1424 8c78770a1e481d0473087b3dc3509f39a1dbfa4e
push idunknown
push userunknown
push dateunknown
bugs436044
Bug 436044 - Queye typo, r+sr=neil
mailnews/base/resources/content/searchBar.js
--- a/mailnews/base/resources/content/searchBar.js
+++ b/mailnews/base/resources/content/searchBar.js
@@ -369,17 +369,17 @@ function createSearchTerms()
   var nsMsgSearchAttrib = Components.interfaces.nsMsgSearchAttrib;
   var nsMsgSearchOp = Components.interfaces.nsMsgSearchOp;
 
   // create an i supports array to store our search terms 
   var searchTermsArray = Components.classes["@mozilla.org/supports-array;1"].createInstance(Components.interfaces.nsISupportsArray);
   var selectedFolder = GetThreadPaneFolder();
 
   const nsMsgFolderFlags = Components.interfaces.nsMsgFolderFlags;
-  var searchAttrib = (IsSpecialFolder(selectedFolder, nsMsgFolderFlags.SentMail | nsMsgFolderFlags.Drafts | nsMsgFolderFlags.Queye, true)) ? nsMsgSearchAttrib.ToOrCC : nsMsgSearchAttrib.Sender;
+  var searchAttrib = (IsSpecialFolder(selectedFolder, nsMsgFolderFlags.SentMail | nsMsgFolderFlags.Drafts | nsMsgFolderFlags.Queue, true)) ? nsMsgSearchAttrib.ToOrCC : nsMsgSearchAttrib.Sender;
   // implement | for QS
   // does this break if the user types "foo|bar" expecting to see subjects with that string?
   // I claim no, since "foo|bar" will be a hit for "foo" || "bar"
   // they just might get more false positives
   var termList = gSearchInput.value.split("|");
   for (var i = 0; i < termList.length; i ++)
   {
     // if the term is empty, skip it