Bug 420261 ? "Recent Tags" is not properly refreshed when a new tag is added (for ondrej@allpeers.com, r=dietrich)

This commit is contained in:
dietrich@mozilla.com 2008-03-07 10:47:34 -08:00
Родитель a29c21effa
Коммит ce60efa473
1 изменённых файлов: 4 добавлений и 0 удалений

Просмотреть файл

@ -2002,6 +2002,10 @@ nsNavHistory::GetUpdateRequirements(const nsCOMArray<nsNavHistoryQuery>& aQuerie
domainBasedItems = PR_TRUE;
}
if (aOptions->ResultType() ==
nsINavHistoryQueryOptions::RESULTS_AS_TAG_QUERY)
return QUERYUPDATE_COMPLEX_WITH_BOOKMARKS;
// Whenever there is a maximum number of results,
// and we are not a bookmark query we must requery. This
// is because we can't generally know if any given addition/change causes