[LON-CAPA-cvs] cvs: loncom /interface londropadd.pm

matthew lon-capa-cvs@mail.lon-capa.org
Wed, 12 May 2004 20:04:57 -0000


matthew		Wed May 12 16:04:57 2004 EDT

  Modified files:              
    /loncom/interface	londropadd.pm 
  Log:
  Bug 3006: Crappy <form> made it impossible to modify students.
  
  
Index: loncom/interface/londropadd.pm
diff -u loncom/interface/londropadd.pm:1.108 loncom/interface/londropadd.pm:1.109
--- loncom/interface/londropadd.pm:1.108	Wed Mar 17 14:56:47 2004
+++ loncom/interface/londropadd.pm	Wed May 12 16:04:57 2004
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Handler to drop and add students in courses 
 #
-# $Id: londropadd.pm,v 1.108 2004/03/17 19:56:47 matthew Exp $
+# $Id: londropadd.pm,v 1.109 2004/05/12 20:04:57 matthew Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -1195,9 +1195,9 @@
     }
     # Print out header 
     $r->print(<<END);
+
+<input type="hidden" name="state" value="$ENV{'form.state'}" />
 <input type="hidden" name="sortby" value="$sortby" />
-<input type="hidden" name="sname"  value="" />
-<input type="hidden" name="sdom"   value="" />
 END
     if ($mode eq 'view') {
         if ($linkto eq 'aboutme') {
@@ -1212,8 +1212,6 @@
                        'sec'    => "section",
 					   );
         $r->print(<<END);
-
-<input type="hidden" name="sortby" value="$sortby" />
 <input type="hidden" name="sname"  value="" />
 <input type="hidden" name="sdom"   value="" />
 <p>