summaryrefslogtreecommitdiffstats
path: root/admin/WebConsole/jscripts/propiedades_ordenadores.js
diff options
context:
space:
mode:
Diffstat (limited to 'admin/WebConsole/jscripts/propiedades_ordenadores.js')
-rw-r--r--admin/WebConsole/jscripts/propiedades_ordenadores.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/admin/WebConsole/jscripts/propiedades_ordenadores.js b/admin/WebConsole/jscripts/propiedades_ordenadores.js
index 21482f8f..f42c309f 100644
--- a/admin/WebConsole/jscripts/propiedades_ordenadores.js
+++ b/admin/WebConsole/jscripts/propiedades_ordenadores.js
@@ -92,8 +92,10 @@ function comprobar_datos(){
return(false);
}
- return validate (form.nombreordenador, validate_notnull, 0) &&
+ return validate (form.nombreordenador, validate_notspace, 0) &&
+ validate (form.nombreordenador, validate_text_notnull, 0) &&
validate (form.ip, validate_ipadress_notnull, 1) &&
validate (form.mac, validate_macaddress_notnull, 2) &&
+ validate (form.numserie, validate_alphanum, 3) &&
validate (form.idrepositorio, validate_number_notnull, 5) ;
}