summaryrefslogtreecommitdiffstats
path: root/admin/WebConsole/jscripts
diff options
context:
space:
mode:
authoririna <irinagomez@us.es>2016-05-19 12:33:15 +0000
committeririna <irinagomez@us.es>2016-05-19 12:33:15 +0000
commit5777216a612999c1af23be897ec2b3c846f9bd31 (patch)
tree4c74985601f5308d6527b2a8bcb3c4521f704070 /admin/WebConsole/jscripts
parent4a511f81df62adcd98364c238048675811108d7d (diff)
#713 Consola: Se valida el campo nĂºmero de serie en las propiedades de los ordenadores
git-svn-id: https://opengnsys.es/svn/branches/version1.1@4941 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'admin/WebConsole/jscripts')
-rw-r--r--admin/WebConsole/jscripts/propiedades_ordenadores.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/admin/WebConsole/jscripts/propiedades_ordenadores.js b/admin/WebConsole/jscripts/propiedades_ordenadores.js
index 21482f8f..44634e49 100644
--- a/admin/WebConsole/jscripts/propiedades_ordenadores.js
+++ b/admin/WebConsole/jscripts/propiedades_ordenadores.js
@@ -95,5 +95,6 @@ function comprobar_datos(){
return validate (form.nombreordenador, validate_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) ;
}