--- loncom/homework/inputtags.pm 2003/08/28 12:54:27 1.114 +++ loncom/homework/inputtags.pm 2003/09/23 01:52:57 1.114.2.1 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # input definitons # -# $Id: inputtags.pm,v 1.114 2003/08/28 12:54:27 sakharuk Exp $ +# $Id: inputtags.pm,v 1.114.2.1 2003/09/23 01:52:57 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -454,7 +454,8 @@ sub decideoutput { $message = "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 = "Answer Submitted"; $bgcolor=$possiblecolors{'correct'}; $button=1;