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

matthew lon-capa-cvs@mail.lon-capa.org
Thu, 19 Jun 2003 16:04:06 -0000


matthew		Thu Jun 19 12:04:06 2003 EDT

  Modified files:              
    /loncom/interface/spreadsheet	lonspreadsheet.pm 
  Log:
  Need the 'generate spreadsheet' button to be present in case you need
  to change the section or enrollment status.
  
  
Index: loncom/interface/spreadsheet/lonspreadsheet.pm
diff -u loncom/interface/spreadsheet/lonspreadsheet.pm:1.12 loncom/interface/spreadsheet/lonspreadsheet.pm:1.13
--- loncom/interface/spreadsheet/lonspreadsheet.pm:1.12	Thu Jun 19 10:52:21 2003
+++ loncom/interface/spreadsheet/lonspreadsheet.pm	Thu Jun 19 12:04:06 2003
@@ -1,5 +1,5 @@
 #
-# $Id: lonspreadsheet.pm,v 1.12 2003/06/19 14:52:21 matthew Exp $
+# $Id: lonspreadsheet.pm,v 1.13 2003/06/19 16:04:06 matthew Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -415,7 +415,7 @@
     }
     $r->rflush();
     #
-    if (! exists($ENV{'form.not_first_run'}) && $sheettype eq 'classcalc') {
+    if ($sheettype eq 'classcalc') {
         $r->print('<input type="submit" value="Generate Spreadsheet" /><br />');
     }
     #