--- loncom/homework/inputtags.pm 2006/03/09 01:11:12 1.190 +++ loncom/homework/inputtags.pm 2006/04/18 22:36:23 1.191 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # input definitons # -# $Id: inputtags.pm,v 1.190 2006/03/09 01:11:12 albertel Exp $ +# $Id: inputtags.pm,v 1.191 2006/04/18 22:36:23 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -149,7 +149,7 @@ sub start_textfield { if ($addchars) { $result.=&addchars('HWVAL_'.$resid,$addchars); } - push @Apache::lonxml::htmlareafields,'HWVAL_'.$resid; + &Apache::lonhtmlcommon::add_htmlareafields('HWVAL_'.$resid); $result.= '