Bug 758820 - Suppress form auto-complete popup after the user starts typing. r=blassey a=blassey

This commit is contained in:
Chris Peterson 2012-06-12 13:10:59 -07:00
parent 28d1e3621d
commit 1b0556901f

View File

@ -3421,6 +3421,12 @@ var FormAssistant = {
if (!this._isAutoComplete(aElement))
return false;
// Don't display the form auto-complete popup after the user starts typing
// to avoid confusing the IME. See bug 758820 and bug 632744.
if (aElement.value.length > 0) {
return false;
}
let autoCompleteSuggestions = this._getAutoCompleteSuggestions(aElement.value, aElement);
let listSuggestions = this._getListSuggestions(aElement);