[LON-CAPA-cvs] cvs: loncom /interface lonmenu.pm
www
lon-capa-cvs@mail.lon-capa.org
Mon, 03 Mar 2003 20:35:20 -0000
www Mon Mar 3 15:35:20 2003 EDT
Modified files:
/loncom/interface lonmenu.pm
Log:
When reloading URL, don't forget the query string.
Index: loncom/interface/lonmenu.pm
diff -u loncom/interface/lonmenu.pm:1.45 loncom/interface/lonmenu.pm:1.46
--- loncom/interface/lonmenu.pm:1.45 Mon Mar 3 08:03:58 2003
+++ loncom/interface/lonmenu.pm Mon Mar 3 15:35:20 2003
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Routines to control the menu
#
-# $Id: lonmenu.pm,v 1.45 2003/03/03 13:03:58 www Exp $
+# $Id: lonmenu.pm,v 1.46 2003/03/03 20:35:20 www Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -245,7 +245,7 @@
$newmail
$buttons
swmenu.currentURL=window.location.pathname;
- swmenu.reloadURL=window.location.pathname;
+ swmenu.reloadURL=window.location.pathname+window.location.search;
swmenu.currentSymb="$ENV{'request.symb'}";
swmenu.reloadSymb="$ENV{'request.symb'}";
swmenu.currentStale=0;