171581 - toolbar search/find in page for phoenix

This commit is contained in:
hewitt%netscape.com 2002-09-29 20:18:32 +00:00
parent 72f2e7d541
commit 68a51fb55d

View File

@ -27,11 +27,11 @@
<field name="mPrefObserver"><![CDATA[
({
urlbar: this,
searchBar: this,
observe: function(aObserver, aBlah, aPref) {
if (aPref.indexOf("browser.search") == 0)
this.updateEngines();
this.searchBar.updateEngines();
}
});
]]></field>
@ -70,7 +70,7 @@
try {
var ds = rdf.GetDataSource("rdf:internetsearch");
} catch (ex) {
// sometimes bad profiles cause this error, which horks the hold urlbar
// sometimes bad profiles cause this error, which horks the searchBar
return;
}