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 | // 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: perfilcomponente_hard.js |
|---|
| 7 | // Descripción : |
|---|
| 8 | // Este fichero implementa las funciones javascript del fichero perfilcomponente_hard.php |
|---|
| 9 | // ************************************************************************************************************************************************* |
|---|
| 10 | //________________________________________________________________________________________________________ |
|---|
| 11 | function gestion_componente(id,o){ |
|---|
| 12 | idperfil=document.fdatos.idperfilhard.value |
|---|
| 13 | if (o.checked) |
|---|
| 14 | var opcion=op_alta; |
|---|
| 15 | else |
|---|
| 16 | var opcion=op_eliminacion; |
|---|
| 17 | var wurl="../gestores/gestor_perfilcomponente_hard.php"; |
|---|
| 18 | var prm="opcion="+opcion+"&idperfilhard="+idperfil+"&idhardware="+id |
|---|
| 19 | CallPage(wurl,prm,"retornoGestion","POST"); |
|---|
| 20 | } |
|---|
| 21 | //______________________________________________________________________________________________________ |
|---|
| 22 | function retornoGestion(resul){ |
|---|
| 23 | if(resul.length>0){ |
|---|
| 24 | eval(resul) |
|---|
| 25 | } |
|---|
| 26 | } |
|---|
| 27 | //________________________________________________________________________________________________________ |
|---|
| 28 | function resultado_insertar_perfilcomponente_hard(resul,descrierror,nwid){ |
|---|
| 29 | if (!resul){ // Ha habido algn error en la inserci� |
|---|
| 30 | alert(descrierror) |
|---|
| 31 | return |
|---|
| 32 | } |
|---|
| 33 | alert(TbMsg[0]) |
|---|
| 34 | } |
|---|
| 35 | //________________________________________________________________________________________________________ |
|---|
| 36 | function resultado_eliminar_perfilcomponente_hard(resul,descrierror,idh){ |
|---|
| 37 | if (!resul){ // Ha habido algn error en la eliminaci� |
|---|
| 38 | alert(descrierror) |
|---|
| 39 | return |
|---|
| 40 | } |
|---|
| 41 | alert(TbMsg[1]) |
|---|
| 42 | } |
|---|
Note: See
TracBrowser
for help on using the repository browser.