--- loncom/homework/response.pm 2005/12/20 16:31:50 1.134 +++ loncom/homework/response.pm 2006/01/21 08:17:51 1.135 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # various response type definitons response definition # -# $Id: response.pm,v 1.134 2005/12/20 16:31:50 albertel Exp $ +# $Id: response.pm,v 1.135 2006/01/21 08:17:51 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -884,7 +884,8 @@ sub add_to_gradingqueue { my ($symb,$courseid,$domain,$name) = &Apache::lonxml::whichuser(); if ( $courseid eq '' || $symb eq '' - || $env{'request.state'} eq 'construct') { + || $env{'request.state'} eq 'construct' + || $Apache::lonhomework::type ne 'problem') { return; }