--- loncom/homework/edit.pm 2005/01/05 21:20:13 1.89 +++ 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.89 2005/01/05 21:20:13 albertel 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; @@ -300,6 +300,8 @@ sub insert_formularesponse { sub insert_numericalresponse { return ' + + @@ -426,8 +428,7 @@ sub insert_displaytitle { return ' - - + '; } @@ -519,7 +520,7 @@ sub editfield { push @Apache::lonxml::htmlareafields,'homework_edit_'. $Apache::lonxml::curdepth; } - return $description."\n".'