--- loncom/homework/structuretags.pm 2005/11/09 12:04:23 1.319 +++ loncom/homework/structuretags.pm 2005/11/10 22:01:30 1.320 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # definition of tags that give a structure to a document # -# $Id: structuretags.pm,v 1.319 2005/11/09 12:04:23 foxr Exp $ +# $Id: structuretags.pm,v 1.320 2005/11/10 22:01:30 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -841,6 +841,9 @@ sub end_problem { } elsif ($target eq 'edit') { &Apache::lonxml::debug("in end_problem with $target, edit"); $result .= &problem_edit_footer(); + } elsif ($target eq 'modified') { + $result .= $token->[2]; + $result.=&Apache::edit::handle_insertafter($token->[1]); } if ($env{'request.state'} eq 'construct' && $target eq 'web') {