Return to loncommon.pm CVS log | Up to [LON-CAPA] / loncom / interface |
version 1.1092, 2012/08/14 15:45:06 | version 1.1093, 2012/08/21 01:50:33 |
---|---|
Line 888 sub check_uncheck_jscript { | Line 888 sub check_uncheck_jscript { |
function checkAll(field) { | function checkAll(field) { |
if (field.length > 0) { | if (field.length > 0) { |
for (i = 0; i < field.length; i++) { | for (i = 0; i < field.length; i++) { |
field[i].checked = true ; | if (!field[i].disabled) { |
field[i].checked = true; | |
} | |
} | } |
} else { | } else { |
field.checked = true | if (!field.disabled) { |
field.checked = true; | |
} | |
} | } |
} | } |