--- loncom/interface/lonhtmlcommon.pm 2016/08/04 20:59:22 1.373 +++ loncom/interface/lonhtmlcommon.pm 2016/10/16 21:20:51 1.374 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # a pile of common html routines # -# $Id: lonhtmlcommon.pm,v 1.373 2016/08/04 20:59:22 raeburn Exp $ +# $Id: lonhtmlcommon.pm,v 1.374 2016/10/16 21:20:51 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -538,6 +538,8 @@ sub date_setter { if (! defined($state) || $state ne 'disabled') { $state = ''; + } else { + $state = 'disabled="disabled"'; } if (! defined($no_hh_mm_ss)) { $no_hh_mm_ss = 0;