[LON-CAPA-cvs] cvs: loncom /interface lonmenu.pm

albertel lon-capa-cvs@mail.lon-capa.org
Thu, 28 Aug 2003 16:43:12 -0000


albertel		Thu Aug 28 12:43:12 2003 EDT

  Modified files:              
    /loncom/interface	lonmenu.pm 
  Log:
  - dot button should work again now. (BUG#2099)
  
  
Index: loncom/interface/lonmenu.pm
diff -u loncom/interface/lonmenu.pm:1.85 loncom/interface/lonmenu.pm:1.86
--- loncom/interface/lonmenu.pm:1.85	Mon Aug 18 14:16:24 2003
+++ loncom/interface/lonmenu.pm	Thu Aug 28 12:43:12 2003
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Routines to control the menu
 #
-# $Id: lonmenu.pm,v 1.85 2003/08/18 18:16:24 www Exp $
+# $Id: lonmenu.pm,v 1.86 2003/08/28 16:43:12 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -377,7 +377,8 @@
 ENDREGTEXT
 # Registered, graphical output
         } else {
-	    my $requri=&Apache::lonnet::unescape($ENV{'REQUEST_URI'});
+	    my $requri=(split(/\?/,$ENV{'REQUEST_URI'}))[0];
+	    $requri=&Apache::lonnet::unescape($requri);
 	    $result = (<<ENDREGTHIS);
      
 <script language="JavaScript">