--- loncom/html/res/adm/pages/menu.html 2003/06/19 01:22:44 1.104
+++ loncom/html/res/adm/pages/menu.html 2003/08/15 21:40:47 1.106
@@ -4,7 +4,7 @@ The LearningOnline Network with CAPA
Remote Control
//
-// $Id: menu.html,v 1.104 2003/06/19 01:22:44 www Exp $
+// $Id: menu.html,v 1.106 2003/08/15 21:40:47 www Exp $
//
// Copyright Michigan State University Board of Trustees
//
@@ -285,17 +285,25 @@ function go(url) {
}
}
-function gopost(url,postdata) {
+function gopost(url,postdata,makenewwin) {
windowcheck();
statuslocked=0;
this.document['led'].src="http://"+clienthost+imgpath+"ledsend.gif";
if (url!='') {
+ if (makenewwin) {
+ var LONcomWin=window.open("http://"+clienthost+"/adm/rat/empty.html",
+ 'LONcom',
+ "height=400,width=540,"+
+ "scrollbars=1,toolbar=0,status=0,resizable=1,location=0,menubar=0");
+ this.document.server.target='LONcom';
+ }
this.document.server.action="http://"+clienthost+url;
this.document.server.postdata.value=postdata;
this.document.server.command.value='';
this.document.server.url.value='';
this.document.server.postsymb.value='';
this.document.server.submit();
+ this.document.server.target='loncapaclient';
}
}