Bug 492796 - isLivemark should use the livemark cache, instead of the db (r=marco)

This commit is contained in:
Dietrich Ayala
2009-06-12 15:39:42 -07:00
parent 0ad4fa6939
commit 63d5d14b23
7 changed files with 66 additions and 74 deletions

View File

@@ -907,8 +907,7 @@ PlacesTreeView.prototype = {
}
else if (nodeType == Ci.nsINavHistoryResultNode.RESULT_TYPE_FOLDER ||
nodeType == Ci.nsINavHistoryResultNode.RESULT_TYPE_FOLDER_SHORTCUT) {
if (PlacesUtils.annotations.itemHasAnnotation(itemId,
LMANNO_FEEDURI))
if (PlacesUtils.nodeIsLivemarkContainer(node))
properties.push(this._getAtomFor("livemark"));
}