diff options
Diffstat (limited to 'admin/WebConsole/comandos/jscripts/EliminarImagenCache.js')
-rw-r--r-- | admin/WebConsole/comandos/jscripts/EliminarImagenCache.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/admin/WebConsole/comandos/jscripts/EliminarImagenCache.js b/admin/WebConsole/comandos/jscripts/EliminarImagenCache.js index 2e74c9a0..62ff72fd 100644 --- a/admin/WebConsole/comandos/jscripts/EliminarImagenCache.js +++ b/admin/WebConsole/comandos/jscripts/EliminarImagenCache.js @@ -7,7 +7,7 @@ function confirmar(){ if (comprobar_datos()){ // Compone atributos del comando - tb_conf=document.getElementById("tabla_conf"); + var tb_conf=document.getElementById("tabla_conf"); var ochecks=tb_conf.getElementsByTagName('INPUT'); var atributos; for(var i=0;i<ochecks.length;i++){ @@ -29,13 +29,13 @@ function confirmar(){ //________________________________________________________________________________________________________ function comprobar_datos() { - tb_conf=document.getElementById("tabla_conf"); + var tb_conf=document.getElementById("tabla_conf"); var ochecks=tb_conf.getElementsByTagName('INPUT'); var op=0; for(var i=0;i<ochecks.length;i++){ if(ochecks[i].checked) op++; } - if(op==0){ + if(op===0){ alert(TbMsg[1]); return(false); } |