--- loncom/homework/edit.pm 2006/02/06 21:59:44 1.100
+++ loncom/homework/edit.pm 2006/04/18 22:36:23 1.101
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# edit mode helpers
#
-# $Id: edit.pm,v 1.100 2006/02/06 21:59:44 albertel Exp $
+# $Id: edit.pm,v 1.101 2006/04/18 22:36:23 albertel Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -577,8 +577,8 @@ sub editfield {
if ($rows < $minheight) { $rows = $minheight; }
if ($description) { $description="
".$description."
"; }
if ($usehtmlarea) {
- push @Apache::lonxml::htmlareafields,'homework_edit_'.
- $Apache::lonxml::curdepth;
+ &Apache::lonhtmlcommon::add_htmlareafields('homework_edit_'.
+ $Apache::lonxml::curdepth);
}
return $description."\n".'