Bug 363011 - click on search suggestion doesn't start the search anymore. r=gavin.

git-svn-id: svn://10.0.0.236/trunk@216615 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
mozilla.mano%sent.com
2006-12-06 23:00:20 +00:00
parent cb167e11ec
commit 67f31cfa10

View File

@@ -498,7 +498,7 @@
}
var where = "current";
if (aEvent.originalTarget.getAttribute("anonid") == "search-go-button")
if (aEvent && aEvent.originalTarget.getAttribute("anonid") == "search-go-button")
where = whereToOpenLink(aEvent, false, true);
else {
var newTabPref = textBox._prefBranch.getBoolPref("browser.search.openintab");