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

raeburn lon-capa-cvs@mail.lon-capa.org
Wed, 29 Mar 2006 16:22:46 -0000


raeburn		Wed Mar 29 11:22:46 2006 EDT

  Modified files:              
    /loncom/interface	loncoursegroups.pm 
  Log:
  Retrieve user selections for roles, access type and sections to generate membership list when adding new member to an existing group. 
  
  
Index: loncom/interface/loncoursegroups.pm
diff -u loncom/interface/loncoursegroups.pm:1.11 loncom/interface/loncoursegroups.pm:1.12
--- loncom/interface/loncoursegroups.pm:1.11	Tue Mar 21 15:18:18 2006
+++ loncom/interface/loncoursegroups.pm	Wed Mar 29 11:22:46 2006
@@ -464,7 +464,8 @@
         }
     }
 
-    if ($action eq 'create') {
+    if (($action eq 'create') || 
+        ($action eq 'modify' && $state eq 'pick_members')) {
         if (defined($env{'form.types'})) {
             @types=&Apache::loncommon::get_env_multiple('form.types');
         }