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:
@@ -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]"],
|
||||
|
||||
Reference in New Issue
Block a user