Fix autocomplete bug. Total hack. No idea what I'm doing, but it works.

This commit is contained in:
hyatt%netscape.com 2002-10-27 22:57:59 +00:00
parent c4467c50d5
commit 4aec38e9f7
2 changed files with 7 additions and 0 deletions

View File

@ -191,6 +191,12 @@ nsAutoCompleteController::HandleText()
} else
mBackspaced = PR_FALSE;
if (mRowCount == 0)
// XXX Handle the case where we have no results because of an ignored prefix.
// This is just a hack. I have no idea what I'm doing. Hewitt, fix this the right
// way when you get a chance. -dwh
ClearResults();
mSearchString = newValue;
// Don't search if the value is empty

View File

@ -39,6 +39,7 @@ toolkit.jar:
content/global/widgets/tree.xml (content/widgets/tree.xml)
content/global/widgets/wizard.xml (content/widgets/wizard.xml)
*+ content/global/nsDragAndDrop.js (content/nsDragAndDrop.js)
en-US.jar:
+ locale/en-US/global/charset.dtd (locale/charset.dtd)
+ locale/en-US/global/finddialog.dtd (locale/finddialog.dtd)