summaryrefslogtreecommitdiffstats
path: root/admin/WebConsole/comandos/jscripts
diff options
context:
space:
mode:
authoririna <irinagomez@us.es>2014-03-19 12:12:28 +0000
committeririna <irinagomez@us.es>2014-03-19 12:12:28 +0000
commita7c4bd4de572b5110b6d2566901752ba5b758b7a (patch)
tree034458b1219f25880f2027580a0cff140d6e1c08 /admin/WebConsole/comandos/jscripts
parent0b914892a5a539c94b3f660c29180e46546e5f9f (diff)
#565 correccion errata: formulario restaurar imagen basica no comprobaba el campo del tipo de sincronizacion
git-svn-id: https://opengnsys.es/svn/branches/version1.0@4196 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'admin/WebConsole/comandos/jscripts')
-rw-r--r--admin/WebConsole/comandos/jscripts/RestaurarImagenBasica.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/admin/WebConsole/comandos/jscripts/RestaurarImagenBasica.js b/admin/WebConsole/comandos/jscripts/RestaurarImagenBasica.js
index 3496ba72..8af30d8b 100644
--- a/admin/WebConsole/comandos/jscripts/RestaurarImagenBasica.js
+++ b/admin/WebConsole/comandos/jscripts/RestaurarImagenBasica.js
@@ -106,6 +106,14 @@
despleimagenizda.focus()
return(false)
}
+ // Comprobamos tipo de sincronizacion.
+ var desplemet=document.getElementById("desplesync_"+idradio); // Desplegable metodo de syncronización
+ var p1=desplemet.selectedIndex // Toma índice seleccionado
+ if (p1==0){
+ alert(TbMsg[7])
+ desplemet.focus()
+ return(false)
+ }
}
}
if(op==0){