--- loncom/homework/edit.pm 2005/03/10 02:33:30 1.90 +++ loncom/homework/edit.pm 2005/03/17 13:56:32 1.91 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # edit mode helpers # -# $Id: edit.pm,v 1.90 2005/03/10 02:33:30 www Exp $ +# $Id: edit.pm,v 1.91 2005/03/17 13:56:32 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -239,7 +239,7 @@ sub handle_insert { } } else { my $newtag=$Apache::lonxml::insertlist{"$tagnum.tag"}; - &Apache::lonxml::error("Unable to insert tag $newtag, $func was not defined."); + &Apache::lonxml::error("Unable to insert tag ".$Apache::lonxml::curdepth." ($tagnum) $newtag, func was not defined."); } } return $result; @@ -520,7 +520,7 @@ sub editfield { push @Apache::lonxml::htmlareafields,'homework_edit_'. $Apache::lonxml::curdepth; } - return $description."\n".'