--- loncom/homework/inputtags.pm 2003/09/17 21:29:44 1.116 +++ loncom/homework/inputtags.pm 2003/09/22 20:49:01 1.117 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # input definitons # -# $Id: inputtags.pm,v 1.116 2003/09/17 21:29:44 www Exp $ +# $Id: inputtags.pm,v 1.117 2003/09/22 20:49:01 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -455,7 +455,8 @@ sub decideoutput { $message = &mt("Unknown message").": $award"; $button=1; } - if (lc($Apache::lonhomework::problemstatus) eq 'no') { + if (lc($Apache::lonhomework::problemstatus) eq 'no' && + $Apache::inputtags::status[-1] ne 'SHOW_ANSWER') { $message = &mt("Answer Submitted"); $bgcolor=$possiblecolors{'correct'}; $button=1;