--- loncom/html/res/adm/pages/menu.html 2003/04/30 21:26:47 1.96 +++ loncom/html/res/adm/pages/menu.html 2003/05/23 16:37:30 1.98 @@ -4,7 +4,7 @@ The LearningOnline Network with CAPA Remote Control // -// $Id: menu.html,v 1.96 2003/04/30 21:26:47 albertel Exp $ +// $Id: menu.html,v 1.98 2003/05/23 16:37:30 www Exp $ // // Copyright Michigan State University Board of Trustees // @@ -59,6 +59,7 @@ var currentSymb=''; var reloadSymb=''; var currentStale=1; var menucltim; +var noclient=0; var clockdelta=0; @@ -138,7 +139,7 @@ function advanceclock() { } function windowcheck() { - if (clientwindow==null || clientwindow.closed) { + if (noclient || (clientwindow==null || clientwindow.closed)) { clientwindow=window.open("http://"+clienthost+"/",'', "height=400,width=440,"+ "scrollbars=1,toolbar=1,status=1,resizable=1,location=1,"+ @@ -146,6 +147,7 @@ function windowcheck() { } clientwindow.name='loncapaclient'; clientwindow.menuwindow=self; + noclient=0; extenddispclose(); } @@ -278,6 +280,7 @@ function go(url) { currentURL = null; currentSymb= null; clientwindow.window.location.href="http://"+clienthost+url; + noclient=0; } } @@ -292,6 +295,7 @@ function gopost(url,postdata) { this.document.server.url.value=''; this.document.server.postsymb.value=''; this.document.server.submit(); + noclient=0; } } @@ -306,6 +310,7 @@ function gocmd(url,cmd) { this.document.server.url.value=currentURL; this.document.server.postsymb.value=currentSymb; this.document.server.submit(); + noclient=0; } }