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

www lon-capa-cvs@mail.lon-capa.org
Thu, 29 May 2003 17:49:22 -0000


www		Thu May 29 13:49:22 2003 EDT

  Modified files:              
    /loncom/interface	loncommon.pm 
  Log:
  Bug #1491: JavaScript error on "Select Student"
  
  Turns out that IE cannot handle spaces in window titles.
  
  
Index: loncom/interface/loncommon.pm
diff -u loncom/interface/loncommon.pm:1.101 loncom/interface/loncommon.pm:1.102
--- loncom/interface/loncommon.pm:1.101	Fri May 23 17:18:56 2003
+++ loncom/interface/loncommon.pm	Thu May 29 13:49:22 2003
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # a pile of common routines
 #
-# $Id: loncommon.pm,v 1.101 2003/05/23 21:18:56 www Exp $
+# $Id: loncommon.pm,v 1.102 2003/05/29 17:49:22 www Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -329,7 +329,7 @@
         }
         url += 'form=' + formname + '&unameelement='+uname+
                                     '&udomelement='+udom;
-        var title = 'Student Browser';
+        var title = 'Student_Browser';
         var options = 'scrollbars=1,resizable=1,menubar=0';
         options += ',width=700,height=600';
         stdeditbrowser = open(url,title,options,'1');
@@ -363,7 +363,7 @@
         }
         url += 'form=' + formname + '&cnumelement='+uname+
                                     '&cdomelement='+udom;
-        var title = 'Course Browser';
+        var title = 'Course_Browser';
         var options = 'scrollbars=1,resizable=1,menubar=0';
         options += ',width=700,height=600';
         stdeditbrowser = open(url,title,options,'1');