1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-02-18 17:15:52 +01:00

move global function bmshow() to vimperator.bookmarks.list

This commit is contained in:
Doug Kearns
2007-07-04 10:58:55 +00:00
parent 071d83c5bd
commit bade047430
2 changed files with 12 additions and 12 deletions

View File

@@ -193,6 +193,17 @@ function Bookmarks() //{{{
return url;
}
this.list = function(filter, fullmode)
{
if (fullmode)
openURLsInNewTab("chrome://browser/content/bookmarks/bookmarksPanel.xul", true);
else
{
var items = vimperator.bookmarks.get(filter);
vimperator.previewwindow.show(items);
}
}
/*
res = parseBookmarkString("-t tag1,tag2 -T title http://www.orf.at");
res.tags is an array of tags