--- loncom/interface/lonhtmlcommon.pm 2016/09/15 17:31:00 1.358.2.7 +++ loncom/interface/lonhtmlcommon.pm 2016/10/23 20:07:28 1.358.2.8 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # a pile of common html routines # -# $Id: lonhtmlcommon.pm,v 1.358.2.7 2016/09/15 17:31:00 raeburn Exp $ +# $Id: lonhtmlcommon.pm,v 1.358.2.8 2016/10/23 20:07:28 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -534,6 +534,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;