918-git-images-111dconfigfileconfigure-oglivegit-imageslgromero-new-oglivemainmaint-cronmount-efivarfsmultivmmultivm-ogboot-installerogClonningEngineogboot-installer-jenkinsoglive-ipv6test-python-scriptsticket-301ticket-50ticket-50-oldticket-577ticket-585ticket-611ticket-612ticket-693ticket-700ubu24tplunification2use-local-agent-oglivevarios-instalacionwebconsole3
Last change
on this file since fc57da8 was
c870c84,
checked in by Ramón M. Gómez <ramongomez@…>, 7 years ago
|
#834: Eliminar algunos espacios sobreantes y saltos de línea tipo CRLF.
|
-
Property mode set to
100644
|
File size:
1.6 KB
|
Rev | Line | |
---|
[eb3e2b8] | 1 | // ************************************************************************************************************************************************* |
---|
| 2 | // Libreria de scripts de Javascript |
---|
| 3 | // Autor: José Manuel Alonso (E.T.S.I.I.) Universidad de Sevilla |
---|
| 4 | // Fecha Creación: 2009-2010 |
---|
| 5 | // Fecha Última modificación: Agosto-2010 |
---|
| 6 | // Nombre del fichero: InventarioHardware.js |
---|
| 7 | // Descripción : |
---|
| 8 | // Este fichero implementa las funciones javascript del fichero InventarioHardware.php (Comandos) |
---|
| 9 | // ************************************************************************************************************************************************* |
---|
| 10 | function confirmar(){ |
---|
| 11 | if (comprobar_datos()){ |
---|
| 12 | tb_conf=document.getElementById("tabla_conf"); |
---|
[3806a31] | 13 | var ochecks=tb_conf.getElementsByTagName('INPUT'); |
---|
[eb3e2b8] | 14 | var particion; |
---|
| 15 | for(var i=0;i<ochecks.length;i++){ |
---|
| 16 | if(ochecks[i].checked){ |
---|
| 17 | particion=ochecks[i].value |
---|
| 18 | } |
---|
| 19 | } |
---|
| 20 | var RC="@"; |
---|
| 21 | var disco=1; // Siempre disco 1 |
---|
| 22 | document.fdatosejecucion.atributos.value="dsk="+disco+RC+"par="+particion+RC; |
---|
| 23 | document.fdatosejecucion.submit(); |
---|
| 24 | } |
---|
| 25 | } |
---|
| 26 | //________________________________________________________________________________________________________ |
---|
| 27 | function cancelar(){ |
---|
| 28 | alert(CTbMsg[0]); |
---|
| 29 | location.href="../nada.php" |
---|
| 30 | } |
---|
| 31 | //________________________________________________________________________________________________________ |
---|
| 32 | function comprobar_datos(){ |
---|
| 33 | tb_conf=document.getElementById("tabla_conf"); |
---|
[3806a31] | 34 | var ochecks=tb_conf.getElementsByTagName('INPUT'); |
---|
| 35 | var op=0; |
---|
[eb3e2b8] | 36 | for(var i=0;i<ochecks.length;i++){ |
---|
| 37 | if(ochecks[i].checked) op++; |
---|
| 38 | } |
---|
| 39 | if(op==0){ |
---|
[c870c84] | 40 | alert(TbMsg[1]); |
---|
| 41 | return(false); |
---|
[eb3e2b8] | 42 | } |
---|
| 43 | return(comprobar_datosejecucion()); |
---|
| 44 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.