зеркало из https://github.com/mozilla/gecko-dev.git
Backed out changeset ceb9328526e0 (bug 1036912) for bc1 test errors
This commit is contained in:
Родитель
54014b552e
Коммит
cf071d51ad
|
@ -35,21 +35,11 @@ let gSearch = {
|
|||
}
|
||||
let searchStr = this._nodes.text.value;
|
||||
if (this.currentEngineName && searchStr.length) {
|
||||
|
||||
let eventData = {
|
||||
this._send("Search", {
|
||||
engineName: this.currentEngineName,
|
||||
searchString: searchStr,
|
||||
whence: "newtab",
|
||||
}
|
||||
|
||||
if (searchText.hasAttribute("selection-index")) {
|
||||
eventData.selection = {
|
||||
index: searchText.getAttribute("selection-index"),
|
||||
kind: searchText.getAttribute("selection-kind")
|
||||
};
|
||||
}
|
||||
|
||||
this._send("Search", eventData);
|
||||
});
|
||||
}
|
||||
this._suggestionController.addInputValueToFormHistory();
|
||||
},
|
||||
|
|
Загрузка…
Ссылка в новой задаче