--- loncom/homework/inputtags.pm 2011/03/07 22:11:50 1.284 +++ loncom/homework/inputtags.pm 2011/03/07 22:38:09 1.285 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # input definitons # -# $Id: inputtags.pm,v 1.284 2011/03/07 22:11:50 www Exp $ +# $Id: inputtags.pm,v 1.285 2011/03/07 22:38:09 www Exp $ # # Copyright Michigan State University Board of Trustees # @@ -868,7 +868,7 @@ sub decideoutput { } } } - $button=0; + if ($awarded==1) { $button=0; } else { $button=1; } $previousmsg=''; } elsif ($solved =~ /^excused/) { if ($target eq 'tex') {