mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-15 08:25:46 +01:00
Remove redundant use of Option.validateCompleter.
This is run by default now. --HG-- extra : rebase_source : 5e8a58550a0c6c3c9fb0cc146bb6405009a24ade
This commit is contained in:
@@ -883,8 +883,7 @@ const Mail = Module("mail", {
|
||||
"Set the archive folder",
|
||||
"string", "Archive",
|
||||
{
|
||||
completer: function (context) completion.mailFolder(context),
|
||||
validator: Option.validateCompleter
|
||||
completer: function (context) completion.mailFolder(context)
|
||||
});
|
||||
|
||||
// TODO: generate the possible values dynamically from the menu
|
||||
@@ -907,8 +906,7 @@ const Mail = Module("mail", {
|
||||
["classic", "Classic View"],
|
||||
["wide", "Wide View"],
|
||||
["vertical", "Vertical View"]
|
||||
],
|
||||
validator: Option.validateCompleter
|
||||
]
|
||||
});
|
||||
|
||||
options.add(["smtpserver", "smtp"],
|
||||
@@ -921,8 +919,7 @@ const Mail = Module("mail", {
|
||||
services.get("smtpService").defaultServer = server;
|
||||
return value;
|
||||
},
|
||||
completer: function (context) [[s.key, s.serverURI] for ([, s] in Iterator(mail.smtpServers))],
|
||||
validator: Option.validateCompleter
|
||||
completer: function (context) [[s.key, s.serverURI] for ([, s] in Iterator(mail.smtpServers))]
|
||||
});
|
||||
|
||||
/*options.add(["threads"],
|
||||
|
||||
Reference in New Issue
Block a user