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

raeburn raeburn at source.lon-capa.org
Wed Jul 3 00:04:13 EDT 2013


raeburn		Wed Jul  3 04:04:13 2013 EDT

  Modified files:              
    /loncom/interface	loncreateuser.pm 
  Log:
  - Fix changes in rev. 1.378
    - Add id to form element to eliminate javascript error.
  
  
Index: loncom/interface/loncreateuser.pm
diff -u loncom/interface/loncreateuser.pm:1.378 loncom/interface/loncreateuser.pm:1.379
--- loncom/interface/loncreateuser.pm:1.378	Tue Jul  2 19:04:37 2013
+++ loncom/interface/loncreateuser.pm	Wed Jul  3 04:04:13 2013
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Create a user
 #
-# $Id: loncreateuser.pm,v 1.378 2013/07/02 19:04:37 raeburn Exp $
+# $Id: loncreateuser.pm,v 1.379 2013/07/03 04:04:13 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -219,13 +219,13 @@
                        '  <td><span class="LC_nobreak">'.$lt{'chqu'}.
                        ': <label>'.
                        '<input type="radio" name="custom_'.$name.'quota" id="custom_'.$name.'quota_off" '.
-                       'value="0" '.$custom_off.' onchange="javascript:quota_changes('."'custom','$name'".')"'.
+                       'value="0" '.$custom_off.' onchange="javascript:quota_changes('."'custom','$name'".');"'.
                        ' />'.$lt{'defa'}.' ('.$defquota.' Mb).</label> '.
                        ' <label><input type="radio" name="custom_'.$name.'quota" id="custom_'.$name.'quota_on" '.
-                       'value="1" '.$custom_on.'  onchange="javascript:quota_changes('."'custom'".')";'.
+                       'value="1" '.$custom_on.'  onchange="javascript:quota_changes('."'custom','$name'".');"'.
                        ' />'.$lt{'cust'}.':</label> '.
-                       '<input type="text" name="'.$name.'quota" size ="5" value="'.
-                       $showquota.'" onfocus="javascript:quota_changes('."'quota','$name'".')"'.
+                       '<input type="text" name="'.$name.'quota" id="'.$name.'quota" size ="5" '.
+                       'value="'.$showquota.'" onfocus="javascript:quota_changes('."'quota','$name'".');"'.
                        ' /> Mb</span></td>'."\n".
                        &Apache::loncommon::end_data_table_row()."\n";
         }




More information about the LON-CAPA-cvs mailing list