1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-23 00:57:59 +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)
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]);
}
}

View File

@@ -604,7 +604,6 @@ vimperator.Events = function () //{{{
evt.noremap = noremap;
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();
return
}
@@ -850,7 +849,7 @@ vimperator.Events = function () //{{{
var key = vimperator.events.toString(event);
if (!key)
return true;
dump(key + " in mode: " + vimperator.mode + "\n");
// dump(key + " in mode: " + vimperator.mode + "\n");
if (vimperator.modes.isRecording)
{

View File

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