--- loncom/html/res/adm/pages/menu.html 2003/02/25 19:16:46 1.89 +++ 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.89 2003/02/25 19:16:46 albertel Exp $ +// $Id: menu.html,v 1.94 2003/04/11 15:28:23 albertel Exp $ // // Copyright Michigan State University Board of Trustees // @@ -36,7 +36,7 @@ Remote Control
@@ -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 @@ -149,6 +150,12 @@ function windowcheck() { extenddispclose(); } +function collapse() { + if (autologout) { + go('/adm/remote?action=collapse'); + } +} + function logout () { windowcheck(); @@ -164,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"; } @@ -281,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(); } } @@ -295,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(); } } @@ -359,7 +369,7 @@ function drawwindow() { ''+ '