--- loncom/homework/edit.pm 2006/02/06 21:59:44 1.100
+++ loncom/homework/edit.pm 2006/07/27 20:47:02 1.103
@@ -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.103 2006/07/27 20:47:02 albertel Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -32,6 +32,9 @@ use strict;
use Apache::lonnet;
use HTML::Entities();
use Apache::lonlocal;
+use lib '/home/httpd/lib/perl/';
+use LONCAPA;
+
# Global Vars
# default list of colors to use in editing
@@ -577,10 +580,10 @@ 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".'