diff options
Diffstat (limited to 'admin/WebConsole/jscripts/propiedades_aulas.js')
-rw-r--r-- | admin/WebConsole/jscripts/propiedades_aulas.js | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/admin/WebConsole/jscripts/propiedades_aulas.js b/admin/WebConsole/jscripts/propiedades_aulas.js index 86b13256..61126a6f 100644 --- a/admin/WebConsole/jscripts/propiedades_aulas.js +++ b/admin/WebConsole/jscripts/propiedades_aulas.js @@ -102,8 +102,15 @@ function comprobar_datos(){ var form = document.fdatos; return validate (form.nombreaula, validate_notnull, 0) && - validate (form.puestos, validate_notnull, 1) && - validate (form.velmul, validate_number, 4); + validate (form.puestos, validate_number_notnull, 1) && + validate (form.router, validate_ipadress_notnull, 4) && + validate (form.netmask, validate_ipadress_notnull, 5) && + validate (form.modp2p, validate_notnull, 6) && + validate (form.timep2p, validate_number_notnull, 7) && + validate (form.modomul, validate_notnull, 8) && + validate (form.ipmul, validate_ipadress_notnull, 9) && + validate (form.pormul, validate_notnull, 10) && + validate (form.velmul, validate_number_notnull, 11); return(true); } |