summaryrefslogtreecommitdiffstats
path: root/admin/WebConsole/jscripts/validators.js
diff options
context:
space:
mode:
Diffstat (limited to 'admin/WebConsole/jscripts/validators.js')
-rw-r--r--admin/WebConsole/jscripts/validators.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/admin/WebConsole/jscripts/validators.js b/admin/WebConsole/jscripts/validators.js
index 4fc91c75..e0359505 100644
--- a/admin/WebConsole/jscripts/validators.js
+++ b/admin/WebConsole/jscripts/validators.js
@@ -51,6 +51,9 @@ function validate_ipadress_notnull(value) {
return validate_ipadress(value) && validate_notnull(value);
}
+function validate_nameimagefile(value) {
+ return validate_expr(value, "^[0-9a-zA-Z]*$");
+}
function validation_highlight(field) {