1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-03-06 15:35:44 +01:00

Fix BookmarkAdd autocommand keyword expansion.

This commit is contained in:
Doug Kearns
2008-12-23 22:50:53 +11:00
parent cf9cb136fc
commit 19b5905c98

View File

@@ -93,8 +93,11 @@ function Bookmarks() //{{{
let uri = util.newURI(node.uri); let uri = util.newURI(node.uri);
let keyword = bookmarksService.getKeywordForBookmark(node.itemId); let keyword = bookmarksService.getKeywordForBookmark(node.itemId);
let tags = taggingService.getTagsForURI(uri, {}) || []; let tags = taggingService.getTagsForURI(uri, {}) || [];
let bmark = new Bookmark(node.uri, node.title, node.icon && node.icon.spec, keyword, tags, node.itemId);
return bookmarks.push(new Bookmark(node.uri, node.title, node.icon && node.icon.spec, keyword, tags, node.itemId)); bookmarks.push(bmark);
return bmark;
} }
function readBookmark(id) function readBookmark(id)