diff options
Diffstat (limited to 'admin/WebConsole/jscripts/validators.js')
-rw-r--r-- | admin/WebConsole/jscripts/validators.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/admin/WebConsole/jscripts/validators.js b/admin/WebConsole/jscripts/validators.js index 7c031f8b..5dacf1cb 100644 --- a/admin/WebConsole/jscripts/validators.js +++ b/admin/WebConsole/jscripts/validators.js @@ -94,6 +94,9 @@ function validate_text(value) { function validate_text_notnull(value) { return validate_text(value) && validate_notnull(value); } +function validate_notspace(value) { + return ! validate_expr(value, /.*[ ]/); +} function validation_highlight(field) { field.focus(); |