summaryrefslogtreecommitdiffstats
path: root/admin/WebConsole/comandos/jscripts/Reiniciar.js
diff options
context:
space:
mode:
authoralonso <alonso@us.es>2009-11-04 12:41:19 +0000
committeralonso <alonso@us.es>2009-11-04 12:41:19 +0000
commitb0dc2e4f68d239ce72f138c47d5762973dfa851e (patch)
tree8b22fe4101e8e527f474291ed19f4446f02a2343 /admin/WebConsole/comandos/jscripts/Reiniciar.js
parenta7fa603b2d3bb05c60c61265f2bf4b561bb00ba3 (diff)
git-svn-id: https://opengnsys.es/svn/trunk@489 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'admin/WebConsole/comandos/jscripts/Reiniciar.js')
-rw-r--r--admin/WebConsole/comandos/jscripts/Reiniciar.js37
1 files changed, 37 insertions, 0 deletions
diff --git a/admin/WebConsole/comandos/jscripts/Reiniciar.js b/admin/WebConsole/comandos/jscripts/Reiniciar.js
new file mode 100644
index 00000000..6f7e2db5
--- /dev/null
+++ b/admin/WebConsole/comandos/jscripts/Reiniciar.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: Reiniciar.js
+// Descripción :
+// Este fichero implementa las funciones javascript del fichero Reiniciar.php (Comandos)
+// *************************************************************************************************************************************************
+ function confirmar(){
+ if (comprobar_datos()){
+ var wurl="./gestores/gestor_Reiniciar.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_reiniciar(resul){
+ if (!resul){
+ alert(CTbMsg[1]);
+ return
+ }
+ alert(CTbMsg[2]);
+}