--- loncom/homework/inputtags.pm 2011/06/06 23:28:42 1.290 +++ loncom/homework/inputtags.pm 2011/06/10 17:10:17 1.291 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # input definitons # -# $Id: inputtags.pm,v 1.290 2011/06/06 23:28:42 www Exp $ +# $Id: inputtags.pm,v 1.291 2011/06/10 17:10:17 www Exp $ # # Copyright Michigan State University Board of Trustees # @@ -885,8 +885,8 @@ sub decideoutput { $message=&mt('Incorrect.'); $css_class=$possible_class{'charged_try'}; } - if ($env{'request.filename'} =~ - m|/res/lib/templates/examupload.problem$|) { + if ($handgrade || + ($env{'request.filename'}=~/\/res\/lib\/templates\/(examupload|DropBox).problem$/)) { $message = &mt("A score has been assigned."); $added_computer_text=1; } else {