зеркало из https://github.com/mozilla/pjs.git
fix js warnings, 262893 patch by gautheri@noos.fr, r/sr=bienvenu
This commit is contained in:
Родитель
4d502d6c52
Коммит
a459ca4ef9
|
@ -361,6 +361,7 @@ function createSearchTermsWithList(aTermsArray)
|
|||
var searchTermsArray = searchTerms.QueryInterface(Components.interfaces.nsISupportsArray);
|
||||
searchTermsArray.Clear();
|
||||
|
||||
var i;
|
||||
var selectedFolder = GetThreadPaneFolder();
|
||||
if (gXFVirtualFolderTerms)
|
||||
{
|
||||
|
@ -371,7 +372,7 @@ function createSearchTermsWithList(aTermsArray)
|
|||
var srchFolderUri = dbFolderInfo.getCharPtrProperty("searchFolderUri");
|
||||
viewDebug("createSearchTermsWithList xf vf scope = " + srchFolderUri + "\n");
|
||||
var srchFolderUriArray = srchFolderUri.split('|');
|
||||
for (var i in srchFolderUriArray)
|
||||
for (i in srchFolderUriArray)
|
||||
{
|
||||
var realFolderRes = GetResourceFromUri(srchFolderUriArray[i]);
|
||||
var realFolder = realFolderRes.QueryInterface(Components.interfaces.nsIMsgFolder);
|
||||
|
@ -388,7 +389,7 @@ function createSearchTermsWithList(aTermsArray)
|
|||
// add each item in termsArray to the search session
|
||||
|
||||
var termsArray = aTermsArray.QueryInterface(Components.interfaces.nsISupportsArray);
|
||||
for (var i = 0; i < termsArray.Count(); i++)
|
||||
for (i = 0; i < termsArray.Count(); ++i)
|
||||
gSearchSession.appendTerm(termsArray.GetElementAt(i).QueryInterface(Components.interfaces.nsIMsgSearchTerm));
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче