[LON-CAPA-cvs] cvs: loncom /homework bridgetask.pm

albertel lon-capa-cvs@mail.lon-capa.org
Fri, 30 Sep 2005 20:34:56 -0000


albertel		Fri Sep 30 16:34:56 2005 EDT

  Modified files:              
    /loncom/homework	bridgetask.pm 
  Log:
  - moved the form to start after the internal messaging location (this way the 'request another slot' button works)
  
  
Index: loncom/homework/bridgetask.pm
diff -u loncom/homework/bridgetask.pm:1.56 loncom/homework/bridgetask.pm:1.57
--- loncom/homework/bridgetask.pm:1.56	Thu Sep 29 15:27:19 2005
+++ loncom/homework/bridgetask.pm	Fri Sep 30 16:34:53 2005
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA 
 # definition of tags that give a structure to a document
 #
-# $Id: bridgetask.pm,v 1.56 2005/09/29 19:27:19 albertel Exp $
+# $Id: bridgetask.pm,v 1.57 2005/09/30 20:34:53 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -367,10 +367,10 @@
 	    $result.="$head_tag_start<title>$name</title></head>
               $body_tag_start \n".&style();
 	    
-	    $result.=$form_tag_start.
-		'<input type="hidden" name="submitted" value="yes" />';
 	    $result.=&preserve_grade_info();
 	    $result.=&internal_location();
+	    $result.=$form_tag_start.
+		'<input type="hidden" name="submitted" value="yes" />';
 	    &Apache::lonxml::startredirection();
 	}
     } elsif ( ($target eq 'grade' && $env{'form.webgrade'}) ||