diff options
author | ramon <ramongomez@us.es> | 2013-06-04 07:24:21 +0000 |
---|---|---|
committer | ramon <ramongomez@us.es> | 2013-06-04 07:24:21 +0000 |
commit | 27b11637d9faae6f66cda6b5f43b7a7623a35c88 (patch) | |
tree | d723fe6e79495c9471cfedce74c3afec15231336 /admin/WebConsole/comandos/jscripts/InventarioSoftware.js | |
parent | 00ed4ab6fdf28d639b263364e67dbdbedc94884b (diff) |
#601: Integrar código revisión r3847 con javascript del comando Inventario de Software.
git-svn-id: https://opengnsys.es/svn/branches/version1.0@3848 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'admin/WebConsole/comandos/jscripts/InventarioSoftware.js')
-rw-r--r-- | admin/WebConsole/comandos/jscripts/InventarioSoftware.js | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/admin/WebConsole/comandos/jscripts/InventarioSoftware.js b/admin/WebConsole/comandos/jscripts/InventarioSoftware.js index aeb8437e..e226054b 100644 --- a/admin/WebConsole/comandos/jscripts/InventarioSoftware.js +++ b/admin/WebConsole/comandos/jscripts/InventarioSoftware.js @@ -14,11 +14,13 @@ var particion; for(var i=0;i<ochecks.length;i++){ if(ochecks[i].checked){ - particion=ochecks[i].value + diskPart=ochecks[i].value.split(";"); } } var RC="@"; - var disco=1; // Siempre disco 1 + // UHU - Ahora se puede hacer de cualquier disco + var disk = diskPart[0]; + var particion = diskPart[1]; document.fdatosejecucion.atributos.value="dsk="+disco+RC+"par="+particion+RC; document.fdatosejecucion.submit(); } @@ -34,7 +36,8 @@ var ochecks=tb_conf.getElementsByTagName('INPUT') var op=0 for(var i=0;i<ochecks.length;i++){ - if(ochecks[i].checked) op++; + if(ochecks[i].checked) + op++; } if(op==0){ alert(TbMsg[1]) |