1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-06 08:34:12 +01:00

add count property to Command's extraInfo to specify whether the command

accepts a count/range
This commit is contained in:
Doug Kearns
2008-10-06 10:42:06 +00:00
parent e38798f66c
commit 0c03963cf9
7 changed files with 46 additions and 36 deletions

View File

@@ -678,11 +678,14 @@ liberator.Mail = function () //{{{
else
SelectFolder(folder.URI);
},
{ completer: function (filter) getFolderCompletions(filter) });
{
completer: function (filter) getFolderCompletions(filter),
count: true
});
liberator.commands.add(["m[essage]"],
"Write a new message",
function (args, special, count)
function (args)
{
var mailargs = {};
mailargs.to = args.arguments.join(", ");