Backed out changeset ceb9328526e0 (bug 1036912) for bc1 test errors

This commit is contained in:
Carsten "Tomcat" Book 2014-09-08 10:19:39 +02:00
parent 4df6cb96d6
commit f29210c660

View File

@ -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();
},