1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-03-30 18:03:36 +02:00

Minor help fixes. Almost time to merge. Need to get rid of these silly security warnings flooding the console.

--HG--
branch : xslt
This commit is contained in:
Kris Maglione
2009-10-26 03:54:29 -04:00
parent 4a3d047579
commit 537c0e0d51
15 changed files with 559 additions and 176 deletions

View File

@@ -77,14 +77,23 @@ function Bookmarks() //{{{
function loadBookmark(node)
{
let uri = util.newURI(node.uri);
let keyword = bookmarksService.getKeywordForBookmark(node.itemId);
let tags = taggingService.getTagsForURI(uri, {}) || [];
let bmark = new Bookmark(node.uri, node.title, node.icon && node.icon.spec, keyword, tags, node.itemId);
try
{
let uri = util.newURI(node.uri);
let keyword = bookmarksService.getKeywordForBookmark(node.itemId);
let tags = taggingService.getTagsForURI(uri, {}) || [];
let bmark = new Bookmark(node.uri, node.title, node.icon && node.icon.spec, keyword, tags, node.itemId);
bookmarks.push(bmark);
bookmarks.push(bmark);
return bmark;
return bmark;
}
catch (e)
{
liberator.dump("Failed to create bookmark for URI: " + node.uri);
liberator.reportError(e);
return null;
}
}
function readBookmark(id)