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

add :set validation and completion for 'eventignore' and 'suggestengines'

This commit is contained in:
Doug Kearns
2008-09-26 05:29:17 +00:00
parent 75d56ccd5d
commit 6eea753fa1
7 changed files with 49 additions and 29 deletions

View File

@@ -207,8 +207,7 @@ liberator.Mail = function () //{{{
"Set the layout of the mail window",
"string", "inherit",
{
validator: function (value) /^(classic|wide|vertical|inherit)$/.test(value),
setter: function (value)
setter: function (value)
{
switch (value)
{
@@ -219,7 +218,8 @@ liberator.Mail = function () //{{{
}
return value;
}
},
validator: function (value) /^(classic|wide|vertical|inherit)$/.test(value)
});
/*liberator.options.add(["threads"],