[LON-CAPA-cvs] cvs: loncom /html/res/adm/pages menu.html

albertel lon-capa-cvs@mail.lon-capa.org
Fri, 13 Aug 2004 20:30:01 -0000


albertel		Fri Aug 13 16:30:01 2004 EDT

  Modified files:              
    /loncom/html/res/adm/pages	menu.html 
  Log:
  - clicking 'STAT' then 'NAV' then '*' would cause the nav window to return
    now explictly set the tart at all points in time we are going to post
  
  
Index: loncom/html/res/adm/pages/menu.html
diff -u loncom/html/res/adm/pages/menu.html:1.112 loncom/html/res/adm/pages/menu.html:1.113
--- loncom/html/res/adm/pages/menu.html:1.112	Fri Aug 13 16:12:11 2004
+++ loncom/html/res/adm/pages/menu.html	Fri Aug 13 16:30:01 2004
@@ -4,7 +4,7 @@
 Remote Control
 
 //
-// $Id: menu.html,v 1.112 2004/08/13 20:12:11 albertel Exp $
+// $Id: menu.html,v 1.113 2004/08/13 20:30:01 albertel Exp $
 //
 // Copyright Michigan State University Board of Trustees
 //
@@ -250,6 +250,7 @@
    if (url!='' && url!= null) {
       currentURL = null;
       currentSymb= null;
+      this.document.server.target='loncapaclient';
       this.document.server.action="http://"+clienthost+url;
       this.document.server.postdata.value='';
       this.document.server.command.value='';
@@ -289,13 +290,14 @@
                        "height=400,width=540,"+
       "scrollbars=1,toolbar=0,status=0,resizable=1,location=0,menubar=0"); 
          this.document.server.target='LONcom';
+      } else {
+         this.document.server.target='loncapaclient';
       }
       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.target='loncapaclient';
       this.document.server.submit();
    }
 }
@@ -305,6 +307,7 @@
    statuslocked=0;
    this.document['led'].src="http://"+clienthost+imgpath+"ledsend.gif";
    if (url!='') {
+      this.document.server.target='loncapaclient';
       this.document.server.action="http://"+clienthost+url;
       this.document.server.postdata.value='';
       this.document.server.command.value=cmd;