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