mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-13 21:35:39 +00:00
171581 - toolbar search/find in page for phoenix
This commit is contained in:
parent
72f2e7d541
commit
68a51fb55d
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user