--- loncom/html/res/adm/pages/menu.html 2003/04/03 00:52:21 1.91 +++ loncom/html/res/adm/pages/menu.html 2003/04/11 15:28:23 1.94 @@ -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.94 2003/04/11 15:28:23 albertel 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(); } } @@ -365,7 +369,7 @@ function drawwindow() { '
'+ '