165955 - landing satchel
git-svn-id: svn://10.0.0.236/trunk@130630 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
db4942d3a0
commit
dd0a1452d9
@ -98,7 +98,7 @@ nsAutoCompleteController::AttachToInput(nsIAutoCompleteInput *aInput, const nsAS
|
||||
|
||||
mInput = aInput;
|
||||
mSearchString = aSearchString;
|
||||
|
||||
|
||||
// reset all search state members to default values
|
||||
mSearchString.Truncate(0);
|
||||
mEnterAfterSearch = PR_FALSE;
|
||||
@ -131,6 +131,9 @@ nsAutoCompleteController::AttachToInput(nsIAutoCompleteInput *aInput, const nsAS
|
||||
mSearches->AppendElement(search);
|
||||
}
|
||||
|
||||
if (!mSearchString.IsEmpty())
|
||||
StartSearchTimer();
|
||||
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
|
||||
@ -43,7 +43,7 @@
|
||||
#include "nsIDirectoryService.h"
|
||||
#include "nsAppDirectoryServiceDefs.h"
|
||||
#include "nsMorkCID.h"
|
||||
#include "nsIMDBFactoryFactory.h"
|
||||
#include "nsIMdbFactoryFactory.h"
|
||||
#include "nsQuickSort.h"
|
||||
#include "nsCRT.h"
|
||||
#include "nsString.h"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user