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

raeburn lon-capa-cvs@mail.lon-capa.org
Tue, 14 Nov 2006 18:27:57 -0000


raeburn		Tue Nov 14 13:27:57 2006 EDT

  Modified files:              
    /loncom/interface	lonpickcourse.pm 
  Log:
  Works better if new $multiple argument is included in call to gochooser_javascript().
  
  
Index: loncom/interface/lonpickcourse.pm
diff -u loncom/interface/lonpickcourse.pm:1.57 loncom/interface/lonpickcourse.pm:1.58
--- loncom/interface/lonpickcourse.pm:1.57	Tue Nov 14 11:51:42 2006
+++ loncom/interface/lonpickcourse.pm	Tue Nov 14 13:27:57 2006
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # Pick a course
 #
-# $Id: lonpickcourse.pm,v 1.57 2006/11/14 16:51:42 raeburn Exp $
+# $Id: lonpickcourse.pm,v 1.58 2006/11/14 18:27:57 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -108,7 +108,7 @@
 
     # print javascript functions for choosing a course 
     if ($env{'form.gosearch'} || $onlyown) {
-        $r->print(&gochoose_javascript($type,$autosubmit,$lastaction));
+        $r->print(&gochoose_javascript($type,$multiple,$autosubmit,$lastaction));
     }
     $r->print('<script type="text/javascript">'.$jscript.'</script>');
     $r->print($submitopener);