close
Warning:
Failed to sync with repository "ogBrowser-Git": (1366, "Incorrect string value: '\\xF0\\x9F\\x93\\xA6 I...' for column 'message' at row 1"); repository information may be out of date. Look in the Trac log for more information including mitigation strategies.
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
| Line | |
|---|
| 1 | // ************************************************************************************************************************************************* |
|---|
| 2 | // Libreria de scripts de Javascript |
|---|
| 3 | // Nombre del fichero: EliminarImagenCache.js |
|---|
| 4 | // Descripci�n : |
|---|
| 5 | // Este fichero implementa las funciones javascript del fichero IniciarSesion.php (Comandos) |
|---|
| 6 | // ************************************************************************************************************************************************* |
|---|
| 7 | function confirmar(){ |
|---|
| 8 | if (comprobar_datos()){ |
|---|
| 9 | // Compone atributos del comando |
|---|
| 10 | tb_conf=document.getElementById("tabla_conf"); |
|---|
| 11 | var ochecks=tb_conf.getElementsByTagName('INPUT'); |
|---|
| 12 | var atributos; |
|---|
| 13 | for(var i=0;i<ochecks.length;i++){ |
|---|
| 14 | if(ochecks[i].checked){ |
|---|
| 15 | atributos=ochecks[i].value |
|---|
| 16 | } |
|---|
| 17 | } |
|---|
| 18 | var RC='@'; |
|---|
| 19 | document.fdatosejecucion.atributos.value="scp="+atributos+RC; |
|---|
| 20 | document.fdatosejecucion.submit(); |
|---|
| 21 | } |
|---|
| 22 | } |
|---|
| 23 | //________________________________________________________________________________________________________ |
|---|
| 24 | function cancelar() |
|---|
| 25 | { |
|---|
| 26 | alert(CTbMsg[0]); |
|---|
| 27 | location.href="../nada.php" |
|---|
| 28 | } |
|---|
| 29 | //________________________________________________________________________________________________________ |
|---|
| 30 | function comprobar_datos() |
|---|
| 31 | { |
|---|
| 32 | tb_conf=document.getElementById("tabla_conf"); |
|---|
| 33 | var ochecks=tb_conf.getElementsByTagName('INPUT'); |
|---|
| 34 | var op=0; |
|---|
| 35 | for(var i=0;i<ochecks.length;i++){ |
|---|
| 36 | if(ochecks[i].checked) op++; |
|---|
| 37 | } |
|---|
| 38 | if(op==0){ |
|---|
| 39 | alert(TbMsg[1]); |
|---|
| 40 | return(false); |
|---|
| 41 | } |
|---|
| 42 | return(comprobar_datosejecucion()) |
|---|
| 43 | } |
|---|
| 44 | |
|---|
Note: See
TracBrowser
for help on using the repository browser.