summaryrefslogtreecommitdiffstats
path: root/admin/WebConsole/jscripts/aula.js
diff options
context:
space:
mode:
authoralonso <alonso@us.es>2010-07-01 14:59:34 +0000
committeralonso <alonso@us.es>2010-07-01 14:59:34 +0000
commit75e3167542199f6633e1bb4fabb9b42f539861dd (patch)
treebf5c3873ae83139ac7c5894013f76f172e036ce7 /admin/WebConsole/jscripts/aula.js
parentaf5311962e47cae7dd4f754563faa2c308928a60 (diff)
git-svn-id: https://opengnsys.es/svn/trunk@1081 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'admin/WebConsole/jscripts/aula.js')
-rw-r--r--admin/WebConsole/jscripts/aula.js25
1 files changed, 25 insertions, 0 deletions
diff --git a/admin/WebConsole/jscripts/aula.js b/admin/WebConsole/jscripts/aula.js
index 9dbb19be..c4b79a2a 100644
--- a/admin/WebConsole/jscripts/aula.js
+++ b/admin/WebConsole/jscripts/aula.js
@@ -10,6 +10,7 @@
//________________________________________________________________________________________________________
var cadenaip;
+var Conlitambito=null
//________________________________________________________________________________________________________
function NodoAux(){
@@ -228,6 +229,30 @@ function consola_remota(){
reset_contextual(-1,-1)
var whref="../principal/consolaremota.php?litambito="+litambito+"&idambito="+idambito+"&nomambito="+nombreambito
location.href=whref;
+ Conlitambito=litambito;
+}
+//________________________________________________________________________________________________________
+//
+// Abre una ventana para mostrar el eco de una consola
+//________________________________________________________________________________________________________
+function eco_remoto(){
+ reset_contextual(-1,-1)
+ if(Conlitambito==null){
+ alert(TbMsg[6]);
+ return;
+ }
+ if(Conlitambito==LITAMBITO_ORDENADORES){
+ alert(TbMsg[5]);
+ return;
+ }
+ var idambito=currentNodo.toma_identificador()
+ var litambito=currentNodo.toma_sufijo()
+ var nomambito=currentNodo.toma_infonodo()
+ var whref="../principal/ecoremoto.php?litambito="+litambito+"&idambito="+idambito+"&nomambito="+nomambito
+ var nomw="w_"+litambito+"_"+idambito
+ if(TBcon[idambito])
+ TBcon[idambito].close();
+ TBcon[idambito] = window.open(whref,nomw,"width=720,height=640");
}
//________________________________________________________________________________________________________
//