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

Some completion fixes

This commit is contained in:
Kris Maglione
2008-11-26 10:51:43 +00:00
parent 5da5f6336a
commit 7d1b3f793c
7 changed files with 39 additions and 32 deletions

View File

@@ -350,7 +350,7 @@ function IO() //{{{
liberator.registerObserver("load_completion", function ()
{
completion.setFunctionCompleter([ioManager.getFile, ioManager.expandPath],
[function (obj, arg) completion.runCompleter("file", arg)]);
[function (obj, arg) completion.runCompleter("file", arg.replace(/[^\/]*$/, ""))]);
});
var ioManager = {