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

albertel lon-capa-cvs@mail.lon-capa.org
Thu, 02 Dec 2004 21:32:51 -0000


albertel		Thu Dec  2 16:32:51 2004 EDT

  Modified files:              
    /loncom/interface	loncreateuser.pm 
  Log:
  - firefox is duysfuntional with the scroll bar when trying to do multiple widgetrs with size=3 and more than 3 items
  
  
Index: loncom/interface/loncreateuser.pm
diff -u loncom/interface/loncreateuser.pm:1.89 loncom/interface/loncreateuser.pm:1.90
--- loncom/interface/loncreateuser.pm:1.89	Mon Nov 29 19:21:24 2004
+++ loncom/interface/loncreateuser.pm	Thu Dec  2 16:32:51 2004
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Create a user
 #
-# $Id: loncreateuser.pm,v 1.89 2004/11/30 00:21:24 raeburn Exp $
+# $Id: loncreateuser.pm,v 1.90 2004/12/02 21:32:51 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -1707,8 +1707,8 @@
     my $output = '';
     my @sections = (sort {$a <=> $b} keys %{$sections_count});
     $output = '<select name="currsec_'.$role.'" ';
-    my $multiple = 3;
-    if ($num_sections <3) { $multiple = $num_sections; }
+    my $multiple = 4;
+    if ($num_sections <4) { $multiple = $num_sections; }
     $output .= '"multiple size="'.$multiple.'" >'."\n";
     foreach (@sections) {
         $output .= '<option value="'.$_.'" />'.$_."\n";