[LON-CAPA-cvs] cvs: loncom /html/res/adm/pages menu.html
bowersj2
lon-capa-cvs@mail.lon-capa.org
Mon, 02 Sep 2002 19:58:51 -0000
bowersj2 Mon Sep 2 15:58:51 2002 EDT
Modified files:
/loncom/html/res/adm/pages menu.html
Log:
Fixes the second part of bug 562. We don't want the whole URL, query string
and all, we just want the pathname. (When you clicked on a link in the
nav map, it includes a symb on the querystring, which messed up
window.location.href.)
Index: loncom/html/res/adm/pages/menu.html
diff -u loncom/html/res/adm/pages/menu.html:1.66 loncom/html/res/adm/pages/menu.html:1.67
--- loncom/html/res/adm/pages/menu.html:1.66 Sun Aug 11 15:03:35 2002
+++ loncom/html/res/adm/pages/menu.html Mon Sep 2 15:58:51 2002
@@ -4,7 +4,7 @@
Remote Control
//
-// $Id: menu.html,v 1.66 2002/08/11 19:03:35 www Exp $
+// $Id: menu.html,v 1.67 2002/09/02 19:58:51 bowersj2 Exp $
//
// Copyright Michigan State University Board of Trustees
//
@@ -344,7 +344,7 @@
function catalog_info() {
go('');
w_LONcatInfo_flag=1;
- loncatinfo=window.open(clientwindow.window.location.href+'.meta',"LONcatInfo");
+ loncatinfo=window.open(clientwindow.window.location.pathname+'.meta',"LONcatInfo");
}
// -->
</script>