Backed out changeset 2d7ce67f5874 (bug 940685) for mochitest-bc failures.

This commit is contained in:
Ryan VanderMeulen 2014-03-31 14:17:50 -04:00
parent 613d093de9
commit 43c66a3729

View File

@ -2910,7 +2910,7 @@ const BrowserSearch = {
#endif #endif
let openSearchPageIfFieldIsNotActive = function(aSearchBar) { let openSearchPageIfFieldIsNotActive = function(aSearchBar) {
if (!aSearchBar || document.activeElement != aSearchBar.textbox.inputField) if (!aSearchBar || document.activeElement != aSearchBar.textbox.inputField)
openUILinkIn("about:home", "current"); openUILinkIn(Services.search.defaultEngine.searchForm, "current");
}; };
let searchBar = this.searchBar; let searchBar = this.searchBar;