1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-22 22:08:00 +01:00

Fix bookmark cache updates.

This commit is contained in:
Kris Maglione
2010-09-20 11:45:18 -04:00
parent 29eef10f03
commit 57e22e9037

View File

@@ -131,7 +131,7 @@ const BookmarkCache = Module("BookmarkCache", {
onItemChanged: function onItemChanged(itemId, property, isAnnotation, value) {
if (isAnnotation)
return;
let bookmark = bookmarks.filter(function (item) item.id == itemId)[0];
let bookmark = bookmarkcache.bookmarks.filter(function (item) item.id == itemId)[0];
if (bookmark) {
if (property == "tags")
value = tagging.getTagsForURI(util.newURI(bookmark.url), {});