1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-23 04:07:58 +01:00

pass all command actions an args object - IMPORTANT: this will possibly break

your plugin, read the NEWS file
This commit is contained in:
Doug Kearns
2008-10-17 11:39:25 +00:00
parent dba3870773
commit bec8d33e59
15 changed files with 95 additions and 29 deletions

View File

@@ -720,12 +720,12 @@ function Mail() //{{{
commands.add(["copy[to]"],
"Copy selected messages",
function (args) { moveOrCopy(true, args); },
function (args) { moveOrCopy(true, args.string); },
{ completer: function (filter) getFolderCompletions(filter) });
commands.add(["move[to]"],
"Move selected messages",
function (args) { moveOrCopy(false, args); },
function (args) { moveOrCopy(false, args.string); },
{ completer: function (filter) getFolderCompletions(filter) });
commands.add(["empty[trash]"],