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

www lon-capa-cvs@mail.lon-capa.org
Mon, 15 Dec 2003 19:23:03 -0000


www		Mon Dec 15 14:23:03 2003 EDT

  Modified files:              
    /loncom/interface	loncommon.pm 
  Log:
  Internet Explorer cannot handle ":" in Window titles at all, so links
  are producing JavaScript errors - for 1.1
  
  
Index: loncom/interface/loncommon.pm
diff -u loncom/interface/loncommon.pm:1.158 loncom/interface/loncommon.pm:1.159
--- loncom/interface/loncommon.pm:1.158	Mon Dec  8 10:06:42 2003
+++ loncom/interface/loncommon.pm	Mon Dec 15 14:23:03 2003
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # a pile of common routines
 #
-# $Id: loncommon.pm,v 1.158 2003/12/08 15:06:42 raeburn Exp $
+# $Id: loncommon.pm,v 1.159 2003/12/15 19:23:03 www Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -553,6 +553,8 @@
 
     my $template = "";
     my $link;
+
+    $topic=~s/\W/\_/g;
 
     if (!$stayOnPage)
     {