--- loncom/homework/bridgetask.pm	2005/11/15 19:50:22	1.77
+++ loncom/homework/bridgetask.pm	2005/11/15 21:41:10	1.78
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA 
 # definition of tags that give a structure to a document
 #
-# $Id: bridgetask.pm,v 1.77 2005/11/15 19:50:22 albertel Exp $
+# $Id: bridgetask.pm,v 1.78 2005/11/15 21:41:10 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -695,7 +695,8 @@ sub end_Task {
 <p>'.&mt('Indicate the files from your portfolio to be evaluated in grading this task.').'</p>').
 							  "</table>";
 		}
-		if (!$previous && !$env{'form.donescreen'}) {
+		if (!$previous && $status ne 'SHOW_ANSWER' &&
+		    &show_task($status,$previous)) {
 		    $result.=&Apache::inputtags::gradestatus('0');
 		    $result.='</form>';
 		    $result.=<<DONEBUTTON;