mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-23 06:38:12 +01:00
fixed bookmarks to work with newer FF3 API
This commit is contained in:
@@ -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]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -690,7 +690,6 @@ vimperator.Hints = function () //{{{
|
|||||||
processHints(followFirst);
|
processHints(followFirst);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
// FIXME: add resize support
|
// FIXME: add resize support
|
||||||
|
|||||||
Reference in New Issue
Block a user