[LON-CAPA-cvs] cvs: loncom /html/res/adm/pages menu.html
albertel
lon-capa-cvs@mail.lon-capa.org
Thu, 23 Dec 2004 19:16:10 -0000
albertel Thu Dec 23 14:16:10 2004 EDT
Modified files:
/loncom/html/res/adm/pages menu.html
Log:
- fixes BUG#3754 for
1) remote and no nav window
2) remote and nav window
Index: loncom/html/res/adm/pages/menu.html
diff -u loncom/html/res/adm/pages/menu.html:1.114 loncom/html/res/adm/pages/menu.html:1.115
--- loncom/html/res/adm/pages/menu.html:1.114 Mon Aug 23 17:05:03 2004
+++ loncom/html/res/adm/pages/menu.html Thu Dec 23 14:16:09 2004
@@ -4,7 +4,7 @@
Remote Control
//
-// $Id: menu.html,v 1.114 2004/08/23 21:05:03 albertel Exp $
+// $Id: menu.html,v 1.115 2004/12/23 19:16:09 albertel Exp $
//
// Copyright Michigan State University Board of Trustees
//
@@ -261,21 +261,20 @@
}
function gonav(url) {
- if (w_loncapanav_flag != 1) {
- go(url);
- } else {
+ if (w_loncapanav_flag == 1) {
navwindowcheck();
statuslocked=0;
- this.document['led'].src="http://"+clienthost+imgpath+"ledsend.gif";
- if (url!='' && url!= null) {
- this.document.server.action="http://"+clienthost+url;
- this.document.server.target="loncapanav";
- this.document.server.postdata.value='';
- this.document.server.command.value='';
- this.document.server.url.value='';
- this.document.server.postsymb.value='';
- this.document.server.submit();
- }
+ this.document.server.target="loncapanav";
+ }
+
+ this.document['led'].src="http://"+clienthost+imgpath+"ledsend.gif";
+ if (url!='' && url!= null) {
+ this.document.server.action="http://"+clienthost+url;
+ this.document.server.postdata.value=currentURL;
+ this.document.server.command.value='';
+ this.document.server.url.value='';
+ this.document.server.postsymb.value=currentSymb;
+ this.document.server.submit();
}
}