--- loncom/interface/domainprefs.pm 2019/08/25 02:42:55 1.365 +++ loncom/interface/domainprefs.pm 2019/08/25 14:15:20 1.367 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Handler to set domain-wide configuration settings # -# $Id: domainprefs.pm,v 1.365 2019/08/25 02:42:55 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 @@ sub print_passwords { $css_class = $itemcount%2?' class="LC_odd_row"':''; $datatable .= ''.$titles{'numsaved'}.''. ''. - ''. + ''. ' '.&mt('(Leave blank to not save previous passwords)').''. ''; } else { @@ -9340,7 +9341,7 @@ function warnIntPass(field) { alert('$intalert{passmin}'); field.value = '$defmin'; } - var minval = parseFloat(field.value,10); + var minval = parseInt(field.value,10); if (minval < $defmin) { alert('$intalert{passmin}'); field.value = '$defmin';