918-git-images-111dconfigure-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-instalacion
Last change
on this file since d0388e5 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: IniciarSesion.js |
---|
| 7 | // Descripción : |
---|
| 8 | // Este fichero implementa las funciones javascript del fichero IniciarSesion.php (Comandos) |
---|
| 9 | // ************************************************************************************************************************************************* |
---|
| 10 | function confirmar(){ |
---|
| 11 | if (comprobar_datos()){ |
---|
| 12 | // Compone atributos del comando |
---|
| 13 | tb_conf=document.getElementById("tabla_conf"); |
---|
[3806a31] | 14 | var ochecks=tb_conf.getElementsByTagName('INPUT'); |
---|
[eb3e2b8] | 15 | var particion; |
---|
| 16 | for(var i=0;i<ochecks.length;i++){ |
---|
| 17 | if(ochecks[i].checked){ |
---|
| 18 | particion=ochecks[i].value |
---|
| 19 | } |
---|
| 20 | } |
---|
| 21 | var RC='@'; |
---|
| 22 | document.fdatosejecucion.atributos.value="par="+particion+RC; |
---|
| 23 | document.fdatosejecucion.submit(); |
---|
| 24 | } |
---|
[c870c84] | 25 | } |
---|
[eb3e2b8] | 26 | //________________________________________________________________________________________________________ |
---|
| 27 | function cancelar() |
---|
| 28 | { |
---|
| 29 | alert(CTbMsg[0]); |
---|
| 30 | location.href="../nada.php" |
---|
| 31 | } |
---|
| 32 | //________________________________________________________________________________________________________ |
---|
| 33 | function comprobar_datos() |
---|
| 34 | { |
---|
| 35 | tb_conf=document.getElementById("tabla_conf"); |
---|
[3806a31] | 36 | var ochecks=tb_conf.getElementsByTagName('INPUT'); |
---|
| 37 | var op=0; |
---|
[eb3e2b8] | 38 | for(var i=0;i<ochecks.length;i++){ |
---|
[c870c84] | 39 | if(ochecks[i].checked) |
---|
| 40 | op++; |
---|
[eb3e2b8] | 41 | } |
---|
| 42 | if(op==0){ |
---|
[c870c84] | 43 | alert(TbMsg[1]); |
---|
| 44 | return(false); |
---|
[eb3e2b8] | 45 | } |
---|
| 46 | return(comprobar_datosejecucion()) |
---|
| 47 | } |
---|
| 48 | |
---|
Note: See
TracBrowser
for help on using the repository browser.