mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 595170 - Some single line inputs break the form filler tool [r=mfinkle]
This commit is contained in:
parent
a7bf64b390
commit
3b9fe61519
@ -139,8 +139,10 @@ FormAutoComplete.prototype = {
|
|||||||
},
|
},
|
||||||
|
|
||||||
autoCompleteSearch: function autoCompleteSearch(aName, aQuery, aField, aPrev) {
|
autoCompleteSearch: function autoCompleteSearch(aName, aQuery, aField, aPrev) {
|
||||||
LOG("autocomplete search", Array.slice(arguments));
|
if (!Services.prefs.getBoolPref("browser.formfill.enable"))
|
||||||
|
return;
|
||||||
|
|
||||||
|
LOG("autocomplete search", Array.slice(arguments));
|
||||||
let result = Cc["@mozilla.org/autocomplete/simple-result;1"].createInstance(Ci.nsIAutoCompleteSimpleResult);
|
let result = Cc["@mozilla.org/autocomplete/simple-result;1"].createInstance(Ci.nsIAutoCompleteSimpleResult);
|
||||||
result.setSearchString(aQuery);
|
result.setSearchString(aQuery);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user