зеркало из https://github.com/mozilla/gecko-dev.git
Bug 224346 can't refresh search tab when search results appear (in advanced mode)
patch by Karsten D��sterloh <mnyromyr@tprac.de> r=timeless sr=neil
This commit is contained in:
Родитель
bbe43d19cc
Коммит
9b06b9b0f5
|
@ -97,7 +97,7 @@ function onLoadInternetResults()
|
|||
.getService(Components.interfaces.nsIInternetSearchService);
|
||||
iSearch.ClearResultSearchSites();
|
||||
|
||||
// the search URI is passed in as a parameter, so get it and them root the results list
|
||||
// the search URI is passed in as a parameter, so get it and then root the results list
|
||||
var searchURI = top.content.location.href;
|
||||
if (searchURI) {
|
||||
const lastSearchURIPref = "browser.search.lastMultipleSearchURI";
|
||||
|
@ -138,7 +138,7 @@ function doEngineClick( event, aNode )
|
|||
var html = null;
|
||||
|
||||
var resultsTree = document.getElementById("resultsList");
|
||||
var contentArea = document.getElementById("content");
|
||||
var contentArea = document.getElementById("resultsContent");
|
||||
var splitter = document.getElementById("results-splitter");
|
||||
var engineURI = aNode.id;
|
||||
if (engineURI == "allEngines") {
|
||||
|
|
|
@ -23,8 +23,7 @@
|
|||
<label value="&results.header.label;"/>
|
||||
</hbox>
|
||||
|
||||
<hbox align="center"
|
||||
style="overflow: none; min-width: 1px;">
|
||||
<hbox align="center" style="min-width: 1px;">
|
||||
<label value="&viewbyprovider.label;"/>
|
||||
<menulist id="engineTabs" ref="NC:SearchResultsSitesRoot"
|
||||
datasources="rdf:internetsearch" oncommand="switchTab(1);">
|
||||
|
@ -119,7 +118,7 @@
|
|||
</splitter>
|
||||
|
||||
<hbox flex="1">
|
||||
<iframe id="content" flex="1" src="chrome://communicator/locale/search/default.htm"/>
|
||||
<iframe id="resultsContent" flex="1" src="chrome://communicator/locale/search/default.htm"/>
|
||||
</hbox>
|
||||
|
||||
</page>
|
||||
|
|
Загрузка…
Ссылка в новой задаче