Bug 911090 Previous form autocomplete result sometimes has a wrong searchString r=MattN
This commit is contained in:
@@ -18,7 +18,7 @@ this.FormAutoCompleteResult =
|
||||
labels,
|
||||
comments,
|
||||
prevResult) {
|
||||
this._searchString = searchString;
|
||||
this.searchString = searchString;
|
||||
this._searchResult = searchResult;
|
||||
this._defaultIndex = defaultIndex;
|
||||
this._errorDescription = errorDescription;
|
||||
@@ -37,7 +37,7 @@ this.FormAutoCompleteResult =
|
||||
FormAutoCompleteResult.prototype = {
|
||||
|
||||
// The user's query string
|
||||
_searchString: "",
|
||||
searchString: "",
|
||||
|
||||
// The result code of this result object, see |get searchResult| for possible values.
|
||||
_searchResult: 0,
|
||||
@@ -60,13 +60,6 @@ FormAutoCompleteResult.prototype = {
|
||||
return this;
|
||||
},
|
||||
|
||||
/**
|
||||
* @return the user's query string
|
||||
*/
|
||||
get searchString() {
|
||||
return this._searchString;
|
||||
},
|
||||
|
||||
/**
|
||||
* @return the result code of this result object, either:
|
||||
* RESULT_IGNORED (invalid searchString)
|
||||
|
||||
Reference in New Issue
Block a user