mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-01 17:23:59 +00:00
Fix autocomplete bug. Total hack. No idea what I'm doing, but it works.
This commit is contained in:
parent
c4467c50d5
commit
4aec38e9f7
@ -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
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user