1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-23 04:57:58 +01:00

fixed bookmarks to work with newer FF3 API

This commit is contained in:
Martin Stubenschrott
2008-01-02 12:52:21 +00:00
parent 6f59f0092c
commit 58efd457dd
3 changed files with 3 additions and 4 deletions

View File

@@ -83,7 +83,8 @@ vimperator.Bookmarks = function () //{{{
if (kw) if (kw)
keywords.push([kw, node.title, node.uri]); keywords.push([kw, node.title, node.uri]);
var tags = taggingService.getTagsForURI(ioService.newURI(node.uri, null, null)); var count = {};
var tags = taggingService.getTagsForURI(ioService.newURI(node.uri, null, null), count);
bookmarks.push([node.uri, node.title, kw, tags]); bookmarks.push([node.uri, node.title, kw, tags]);
} }
} }

View File

@@ -604,7 +604,6 @@ vimperator.Events = function () //{{{
evt.noremap = noremap; evt.noremap = noremap;
if (elem.dispatchEvent(evt)) // return true in onEvent to stop feeding keys if (elem.dispatchEvent(evt)) // return true in onEvent to stop feeding keys
{ {
dump("help in mode: " + vimperator.mode + " - " + vimperator.events.toString(evt) + "\n");
vimperator.beep(); vimperator.beep();
return return
} }
@@ -850,7 +849,7 @@ vimperator.Events = function () //{{{
var key = vimperator.events.toString(event); var key = vimperator.events.toString(event);
if (!key) if (!key)
return true; return true;
dump(key + " in mode: " + vimperator.mode + "\n"); // dump(key + " in mode: " + vimperator.mode + "\n");
if (vimperator.modes.isRecording) if (vimperator.modes.isRecording)
{ {

View File

@@ -690,7 +690,6 @@ vimperator.Hints = function () //{{{
processHints(followFirst); processHints(followFirst);
} }
} }
}; };
// FIXME: add resize support // FIXME: add resize support