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

raeburn raeburn at source.lon-capa.org
Sun Aug 25 10:15:20 EDT 2019


raeburn		Sun Aug 25 14:15:20 2019 EDT

  Modified files:              
    /loncom/interface	domainprefs.pm 
  Log:
  - javascript function:  warnIntPass() warns about invalid value for
    number of previous passwords saved in domain config for passwords
  
  
Index: loncom/interface/domainprefs.pm
diff -u loncom/interface/domainprefs.pm:1.366 loncom/interface/domainprefs.pm:1.367
--- loncom/interface/domainprefs.pm:1.366	Sun Aug 25 13:37:37 2019
+++ loncom/interface/domainprefs.pm	Sun Aug 25 14:15:20 2019
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Handler to set domain-wide configuration settings
 #
-# $Id: domainprefs.pm,v 1.366 2019/08/25 13:37:37 raeburn Exp $
+# $Id: domainprefs.pm,v 1.367 2019/08/25 14:15:20 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -6340,7 +6340,8 @@
         $css_class = $itemcount%2?' class="LC_odd_row"':'';
         $datatable .= '<tr'.$css_class.'><td>'.$titles{'numsaved'}.'</td>'.
                       '<td class="LC_left_item"><span class="LC_nobreak">'.
-                      '<input type="text" name="passwords_numsaved" value="'.$numsaved.'" size="3" />'.
+                      '<input type="text" name="passwords_numsaved" value="'.$numsaved.'" size="3" '.
+                      'onblur="javascript:warnIntPass(this);" />'. 
                       '<span class="LC_fontsize_small"> '.&mt('(Leave blank to not save previous passwords)').'</span>'.
                       '</span></td></tr>';
     } else {




More information about the LON-CAPA-cvs mailing list