From 363b0a45dc81cb86d8cf325ca9d449fc10124d40 Mon Sep 17 00:00:00 2001 From: Doug Kearns Date: Thu, 11 Oct 2007 02:06:21 +0000 Subject: [PATCH] remove unused keyword and tag columns from :bmark output --- content/bookmarks.js | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/content/bookmarks.js b/content/bookmarks.js index 8ce25daa..cf04000b 100644 --- a/content/bookmarks.js +++ b/content/bookmarks.js @@ -272,21 +272,14 @@ function Bookmarks() //{{{ for (var i = 0; i < items.length; i++) { var list = ":" + vimperator.util.escapeHTML(vimperator.commandline.getCommand()) + "
" + - ""; + "
titlekeywordURLtags
"; for (var i = 0; i < items.length; i++) { var title = vimperator.util.escapeHTML(items[i][1]); if (title.length > 50) title = title.substr(0, 47) + "..."; - var keyword = "".substr(0,12); // maximum 12 chars var url = vimperator.util.escapeHTML(items[i][0]); - var tags = "tag1, tag2"; - list += ""; - // TODO: change that list to something like this when we have keywords - //list += ""; - + list += ""; } list += "
titleURL
" + title + "" + keyword + - "" + url + - "" + tags + "
" + items[i][1].substr(0,20) + "" + items[i][0] + "
" + "Keyword: foo Tags: computer, news" + "
" + title + "" + url + "
";