From 5e56767701204fc93f631c5bf23d693eb7bd4525 Mon Sep 17 00:00:00 2001 From: Martin Stubenschrott Date: Sun, 2 Dec 2007 00:13:47 +0000 Subject: [PATCH] fixed some bookmarks of appearing twice --- content/bookmarks.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/content/bookmarks.js b/content/bookmarks.js index 3218aa69..b89f7449 100644 --- a/content/bookmarks.js +++ b/content/bookmarks.js @@ -55,12 +55,10 @@ vimperator.Bookmarks = function () //{{{ // update our bookmark cache bookmarks = []; // also clear our bookmark cache keywords = []; - var root = bookmarksService.placesRoot; - var folders = [root]; + var folders = [bookmarksService.toolbarFolder, bookmarksService.bookmarksMenuFolder, bookmarksService.unfiledBookmarksFolder]; var query = historyService.getNewQuery(); var options = historyService.getNewQueryOptions(); -// query.searchTerms = "test"; while (folders.length > 0) { //comment out the next line for now; the bug hasn't been fixed; final version should include the next line