Fix history sidebar (need to QI the root to nsINavHistoryResultQueryNode), regressed by bug 382877

This commit is contained in:
mozilla.mano@sent.com 2007-08-02 15:27:02 -07:00
parent 1f5823aa2f
commit cc5d68d75b

View File

@ -155,7 +155,7 @@ function searchHistory(aInput)
if (aInput) {
if (!gSearching) {
// Unset grouping when searching;
var options = gHistoryTree.getResult().root.queryOptions;
var options = asQuery(gHistoryTree.getResult().root).queryOptions;
options.setGroupingMode([], 0);
gSearching = true;
}