--- loncom/interface/loncommon.pm 2012/08/14 15:45:06 1.1092 +++ loncom/interface/loncommon.pm 2012/08/21 01:50:33 1.1093 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # a pile of common routines # -# $Id: loncommon.pm,v 1.1092 2012/08/14 15:45:06 raeburn Exp $ +# $Id: loncommon.pm,v 1.1093 2012/08/21 01:50:33 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -888,10 +888,14 @@ sub check_uncheck_jscript { function checkAll(field) { if (field.length > 0) { for (i = 0; i < field.length; i++) { - field[i].checked = true ; + if (!field[i].disabled) { + field[i].checked = true; + } } } else { - field.checked = true + if (!field.disabled) { + field.checked = true; + } } }