diff options
Diffstat (limited to 'admin/WebConsole/jscripts/propiedades_imagenes.js')
-rw-r--r-- | admin/WebConsole/jscripts/propiedades_imagenes.js | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/admin/WebConsole/jscripts/propiedades_imagenes.js b/admin/WebConsole/jscripts/propiedades_imagenes.js index 0161f715..f8655a22 100644 --- a/admin/WebConsole/jscripts/propiedades_imagenes.js +++ b/admin/WebConsole/jscripts/propiedades_imagenes.js @@ -87,15 +87,14 @@ function comprobar_datos(){ if(form.tipoimg.getAttribute("value")!=IMAGENES_INCREMENTALES){ return validate (form.nombreca, validate_nameimagefile, 3) && validate (form.nombreca, validate_notnull, 3) && - validate (form.descripcion, validate_notnull, 0) && - validate (form.numpar, validate_notnull, 4) && + validate (form.descripcion, validate_notnull, 0) && validate (form.codpar, validate_notnull, 5) && validate (form.idrepositorio, validate_notnull, 6); } else{ return validate (form.nombreca, validate_nameimagefile, 3) && validate (form.nombreca, validate_notnull, 3) && - validate (form.descripcion, validate_notnull, 0) && + validate (form.descripcion, validate_notnull, 0) && validate (form.imagenid, validate_notnull, 8); } return(true); |