diff options
author | alonso <alonso@us.es> | 2009-11-04 12:41:19 +0000 |
---|---|---|
committer | alonso <alonso@us.es> | 2009-11-04 12:41:19 +0000 |
commit | b0dc2e4f68d239ce72f138c47d5762973dfa851e (patch) | |
tree | 8b22fe4101e8e527f474291ed19f4446f02a2343 /admin/WebConsole/comandos/jscripts/Apagar.js | |
parent | a7fa603b2d3bb05c60c61265f2bf4b561bb00ba3 (diff) |
git-svn-id: https://opengnsys.es/svn/trunk@489 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'admin/WebConsole/comandos/jscripts/Apagar.js')
-rw-r--r-- | admin/WebConsole/comandos/jscripts/Apagar.js | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/admin/WebConsole/comandos/jscripts/Apagar.js b/admin/WebConsole/comandos/jscripts/Apagar.js new file mode 100644 index 00000000..9affbd2d --- /dev/null +++ b/admin/WebConsole/comandos/jscripts/Apagar.js @@ -0,0 +1,37 @@ +// ************************************************************************************************************************************************* +// Libreria de scripts de Javascript +// Autor: José Manuel Alonso (E.T.S.I.I.) Universidad de Sevilla + +// Fecha Creación:2003-2004 +// Fecha Última modificación: Marzo-2005 +// Nombre del fichero: Apagar.js +// Descripción : +// Este fichero implementa las funciones javascript del fichero Apagar.php (Comandos) +// ************************************************************************************************************************************************* + function confirmar(){ + if (comprobar_datos()){ + var wurl="./gestores/gestor_Apagar.php?" +compone_urlejecucion(); + ifr=document.getElementById("iframes_comodin"); // Toma objeto Iframe + ifr.src=wurl; // LLama a la página gestora + } + } +//________________________________________________________________________________________________________ + function cancelar(){ + alert(CTbMsg[0]); + location.href="../nada.php" + } +//________________________________________________________________________________________________________ + function comprobar_datos(){ + return(comprobar_datosejecucion()) +} +//________________________________________________________________________________________________________ +// +// Comprobar retorno +//________________________________________________________________________________________________________ +function resultado_apagar(resul){ + if (!resul){ + alert(CTbMsg[1]); + return + } + alert(CTbMsg[2]); +} |