1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-02-17 11:45:45 +01:00

Many small bugfixes

changed wildsort -> wildoptions=sort
added completion for filenames
This commit is contained in:
Martin Stubenschrott
2007-04-29 15:04:00 +00:00
parent abeafde55f
commit d4844c2429
7 changed files with 95 additions and 37 deletions

View File

@@ -578,7 +578,7 @@ function onCommandBarKeypress(evt)/*{{{*/
{
g_completions = command[COMPLETEFUNC].call(this, args);
// Sort the completion list
if (get_pref('wildsort'))
if (get_pref('wildoptions').match(/\bsort\b/))
{
g_completions.sort(function(a, b) {
if (a[0] < b[0])