--- loncom/html/res/adm/pages/menu.html 2003/04/03 00:52:21 1.91
+++ loncom/html/res/adm/pages/menu.html 2003/04/04 22:00:26 1.93
@@ -4,7 +4,7 @@ The LearningOnline Network with CAPA
Remote Control
//
-// $Id: menu.html,v 1.91 2003/04/03 00:52:21 www Exp $
+// $Id: menu.html,v 1.93 2003/04/04 22:00:26 www Exp $
//
// Copyright Michigan State University Board of Trustees
//
@@ -79,6 +79,7 @@ var w_Annotator_flag=-1;
var w_bmquery_flag=-1;
var w_BookmarkPal_flag=-1;
var w_LONcatInfo_flag=-1;
+var w_LONchat_flag=-1;
// 1 means currently open
// 0 means closed (but has been open)
// -1 means never yet opened/defined
@@ -170,6 +171,9 @@ function logout () {
if (w_LONcatInfo_flag!=-1 && loncatinfo && !loncatinfo.closed) {
loncatinfo.close();
}
+ if (w_LONchat_flag!=-1 && lonchat && !lonchat.closed) {
+ lonchat.close();
+ }
if (autologout) {
clientwindow.window.location.href="http://"+clienthost+"/adm/logout";
}
@@ -287,7 +291,7 @@ function gopost(url,postdata) {
this.document.server.postdata.value=postdata;
this.document.server.command.value='';
this.document.server.url.value='';
- this.document.server.symb.value='';
+ this.document.server.postsymb.value='';
this.document.server.submit();
}
}
@@ -301,7 +305,7 @@ function gocmd(url,cmd) {
this.document.server.postdata.value='';
this.document.server.command.value=cmd;
this.document.server.url.value=currentURL;
- this.document.server.symb.value=currentSymb;
+ this.document.server.postsymb.value=currentSymb;
this.document.server.submit();
}
}
@@ -418,7 +422,13 @@ function edit_bookmarks() {
function catalog_info() {
go('');
w_LONcatInfo_flag=1;
- loncatinfo=window.open(clientwindow.window.location.pathname+'.meta',"LONcatInfo");
+ loncatinfo=window.open(clientwindow.window.location.pathname+'.meta',"LONcatInfo",'height=320,width=280,resizeable=yes,location=no,menubar=no,toolbar=no');
+}
+
+function chat_win() {
+ go('');
+ w_LONchat_flag=1;
+ lonchat=window.open('/res/adm/pages/chatroom.html',"LONchat",'height=320,width=280,resizeable=yes,location=no,menubar=no,toolbar=no');
}
// -->
@@ -542,7 +552,7 @@ function catalog_info() {
-
+