зеркало из https://github.com/mozilla/pjs.git
Fix for another silly regression. Bug 120720 - find broken in Bookmarks and History. r=hwaara, sr=blake a=blizzard
This commit is contained in:
Родитель
74f7526e39
Коммит
4fdb49e0da
|
@ -37,7 +37,7 @@ function Startup()
|
|||
if ("arguments" in window && window.arguments[0]) {
|
||||
var uri = window.arguments[0];
|
||||
dump(uri);
|
||||
bookmarksView.outlinerBody.setAttribute("ref", uri);
|
||||
bookmarksView.outliner.setAttribute("ref", uri);
|
||||
|
||||
var title = "";
|
||||
if (uri.substring(0,5) == "find:") {
|
||||
|
|
|
@ -62,7 +62,7 @@ function find()
|
|||
|
||||
// Update the root of the tree if we're using an existing search window.
|
||||
if (!gCreatingNewWindow)
|
||||
bmWindow.document.getElementById("bookmarks-view").outlinerBody.setAttribute("ref", searchURI);
|
||||
bmWindow.document.getElementById("bookmarks-view").outliner.setAttribute("ref", searchURI);
|
||||
|
||||
bmWindow.focus();
|
||||
return true;
|
||||
|
|
|
@ -262,7 +262,7 @@ function setRoot(root)
|
|||
{
|
||||
var windowNode = document.getElementById("history-window");
|
||||
windowNode.setAttribute("title", gHistoryBundle.getString("search_results_title"));
|
||||
document.getElementById("historyOutlinerBody").setAttribute("ref", root);
|
||||
document.getElementById("historyOutliner").setAttribute("ref", root);
|
||||
}
|
||||
|
||||
function GroupBy(groupingType)
|
||||
|
|
Загрузка…
Ссылка в новой задаче