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

raeburn lon-capa-cvs@mail.lon-capa.org
Tue, 21 Nov 2006 21:03:12 -0000


raeburn		Tue Nov 21 16:03:12 2006 EDT

  Modified files:              
    /loncom/interface	loncreateuser.pm 
  Log:
  The form element "dccourse" should be blank when the page loads. The value gets set when a DC selects a course for which a role is being assigned to a user.
  
  
Index: loncom/interface/loncreateuser.pm
diff -u loncom/interface/loncreateuser.pm:1.132 loncom/interface/loncreateuser.pm:1.133
--- loncom/interface/loncreateuser.pm:1.132	Mon Nov 20 18:36:40 2006
+++ loncom/interface/loncreateuser.pm	Tue Nov 21 16:03:06 2006
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Create a user
 #
-# $Id: loncreateuser.pm,v 1.132 2006/11/20 23:36:40 raeburn Exp $
+# $Id: loncreateuser.pm,v 1.133 2006/11/21 21:03:06 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -1817,7 +1817,7 @@
     my %customroles=&my_custom_roles();
     my $hiddenitems = '<input type="hidden" name="dcdomain" value="'.$dcdom.'" />'.
                       '<input type="hidden" name="origdom" value="'.$dcdom.'" />'.
-                      '<input type="hidden" name="dccourse" value="'.$dcdom.'" />';
+                      '<input type="hidden" name="dccourse" value="" />';
     my $courseform='<b>'.&Apache::loncommon::selectcourse_link
             ('cu','dccourse','dcdomain','coursedesc',undef,undef,'Course').'</b>';
     my $cb_jscript = &Apache::loncommon::coursebrowser_javascript($dcdom,'currsec','cu');