summaryrefslogtreecommitdiffstats
path: root/admin/WebConsole/comandos/jscripts/InventarioSoftware.js
diff options
context:
space:
mode:
authorramon <ramongomez@us.es>2018-03-01 11:55:51 +0000
committerramon <ramongomez@us.es>2018-03-01 11:55:51 +0000
commit3806a31af653699dffd7026331a5a864178bc047 (patch)
tree2e370e82b0749418dbbd7a73a69ed7fa9ccbf5a8 /admin/WebConsole/comandos/jscripts/InventarioSoftware.js
parentaabc011b17a715be723a50e0d4c49ba4b777c644 (diff)
#834: Limpiar código JavaScript: terminar instrucciones con ";" y evitar asignaciones duplicadas.
git-svn-id: https://opengnsys.es/svn/branches/version1.1@5630 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'admin/WebConsole/comandos/jscripts/InventarioSoftware.js')
-rw-r--r--admin/WebConsole/comandos/jscripts/InventarioSoftware.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/admin/WebConsole/comandos/jscripts/InventarioSoftware.js b/admin/WebConsole/comandos/jscripts/InventarioSoftware.js
index 99dda40c..4910d047 100644
--- a/admin/WebConsole/comandos/jscripts/InventarioSoftware.js
+++ b/admin/WebConsole/comandos/jscripts/InventarioSoftware.js
@@ -10,7 +10,7 @@
function confirmar(){
if (comprobar_datos()){
tb_conf=document.getElementById("tabla_conf");
- var ochecks=tb_conf.getElementsByTagName('INPUT')
+ var ochecks=tb_conf.getElementsByTagName('INPUT');
var particion;
for(var i=0;i<ochecks.length;i++){
if(ochecks[i].checked){
@@ -33,14 +33,14 @@
//________________________________________________________________________________________________________
function comprobar_datos(){
tb_conf=document.getElementById("tabla_conf");
- var ochecks=tb_conf.getElementsByTagName('INPUT')
- var op=0
+ 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){
- alert(TbMsg[1])
+ alert(TbMsg[1]);
return(false);
}
return(comprobar_datosejecucion());